core4
nimetu 3 years ago
parent 1a552078a1
commit dfbef3e5b5

@ -668,7 +668,7 @@ bool CDriverGL::setDisplay(nlWindow wnd, const GfxMode &mode, bool show, bool re
// Retrieve the WGL extensions before init the driver. // Retrieve the WGL extensions before init the driver.
// Offscreen mode ? // Offscreen mode ?
if (mode.Offscreen) if (mode.OffScreen)
{ {
_CurrentMode.OffScreen = true; _CurrentMode.OffScreen = true;
if (!createWindow(mode)) return false; if (!createWindow(mode)) return false;

Loading…
Cancel
Save