Fixed: Crash when using bloom in object_viewer_qt with OpenGL driver

This commit is contained in:
kervala 2011-01-22 16:01:00 +01:00
parent c520ed900f
commit aeb4923843

View file

@ -1790,7 +1790,7 @@ bool CDriverGL::setMode(const GfxMode& mode)
// don't modify window or screen if managed by a 3rd party library // don't modify window or screen if managed by a 3rd party library
if (!_DestroyWindow) if (!_DestroyWindow)
return false; return true;
if (!setScreenMode(mode)) if (!setScreenMode(mode))
return false; return false;