undoing r3539 to fix issue with fullscreen

This commit is contained in:
Brian Matzon 2011-10-11 19:24:55 +00:00
parent 797048354c
commit cfe74c2013
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ public final class Display {
}
private static DisplayMode getEffectiveMode() {
return !isFullscreen() && parent != null ? (current_mode = new DisplayMode(parent.getWidth(), parent.getHeight())) : current_mode;
return !isFullscreen() && parent != null ? new DisplayMode(parent.getWidth(), parent.getHeight()) : current_mode;
}
private static int getWindowX() {