Fixed: Crash when using bloom in object_viewer_qt with OpenGL driver
This commit is contained in:
parent
c520ed900f
commit
aeb4923843
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue