|
From: <eli...@us...> - 2007-08-16 08:49:17
|
Revision: 2874
http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=2874&view=rev
Author: elias_naur
Date: 2007-08-16 01:49:14 -0700 (Thu, 16 Aug 2007)
Log Message:
-----------
Revert 2872
Modified Paths:
--------------
trunk/LWJGL/src/java/org/lwjgl/opengl/Display.java
Modified: trunk/LWJGL/src/java/org/lwjgl/opengl/Display.java
===================================================================
--- trunk/LWJGL/src/java/org/lwjgl/opengl/Display.java 2007-08-16 08:38:20 UTC (rev 2873)
+++ trunk/LWJGL/src/java/org/lwjgl/opengl/Display.java 2007-08-16 08:49:14 UTC (rev 2874)
@@ -82,9 +82,6 @@
/** Cached window icons, for when Display is recreated */
private static ByteBuffer[] cached_icons;
-
- /** Display mode used prior to entering fullscreen */
- private static DisplayMode windowed_display_mode;
/**
* Y coordinate of the window. Y in window coordinates is from the top of the display down,
@@ -301,7 +298,6 @@
private static void switchDisplayMode() throws LWJGLException {
if (!current_mode.isFullscreen()) {
LWJGLUtil.log("Switching to "+initial_mode);
- windowed_display_mode = current_mode;
setDisplayMode(initial_mode);
}
display_impl.switchDisplayMode(current_mode);
@@ -477,7 +473,6 @@
switchDisplayMode();
} else {
display_impl.resetDisplayMode();
- current_mode = windowed_display_mode;
}
createWindow();
makeCurrentAndSetSwapInterval();
@@ -849,7 +844,6 @@
destroyPeerInfo();
x = y = -1;
cached_icons = null;
- windowed_display_mode = null;
reset();
removeShutdownHook();
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|