Fixed a fullscreen/displaymode setting bug

This commit is contained in:
Caspian Rychlik-Prince 2004-11-22 13:42:28 +00:00
parent bc788f00c9
commit 282ac78fc1
1 changed files with 1 additions and 0 deletions

View File

@ -182,6 +182,7 @@ public final class Display {
current_mode = mode;
if (isCreated()) {
destroyWindow();
setFullscreen(mode.isFullscreen());
try {
if (fullscreen)
switchDisplayMode();