diff --git a/nel/src/3d/driver/opengl/driver_opengl_window.cpp b/nel/src/3d/driver/opengl/driver_opengl_window.cpp index 35dc433a8..e4fc43366 100644 --- a/nel/src/3d/driver/opengl/driver_opengl_window.cpp +++ b/nel/src/3d/driver/opengl/driver_opengl_window.cpp @@ -668,8 +668,9 @@ bool CDriverGL::setDisplay(nlWindow wnd, const GfxMode &mode, bool show, bool re // Retrieve the WGL extensions before init the driver. // Offscreen mode ? - if (_CurrentMode.OffScreen) + if (mode.Offscreen) { + _CurrentMode.OffScreen = true; if (!createWindow(mode)) return false; HWND tmpHWND = _win;