mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 09:19:01 +00:00
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