Fixed: Crash when using bloom in object_viewer_qt with OpenGL driver
This commit is contained in:
parent
ac738488d4
commit
7dcc8bb0cb
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