Fixed a fullscreen/displaymode setting bug
This commit is contained in:
parent
bc788f00c9
commit
282ac78fc1
|
@ -182,6 +182,7 @@ public final class Display {
|
|||
current_mode = mode;
|
||||
if (isCreated()) {
|
||||
destroyWindow();
|
||||
setFullscreen(mode.isFullscreen());
|
||||
try {
|
||||
if (fullscreen)
|
||||
switchDisplayMode();
|
||||
|
|
Loading…
Reference in New Issue