mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-16 14:28:43 +00:00
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