From: <eli...@us...> - 2008-10-02 07:34:33
|
Revision: 3133 http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3133&view=rev Author: elias_naur Date: 2008-10-02 07:34:22 +0000 (Thu, 02 Oct 2008) Log Message: ----------- Added Display.getDesktopDisplayMode() 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 2008-09-24 18:02:05 UTC (rev 3132) +++ trunk/LWJGL/src/java/org/lwjgl/opengl/Display.java 2008-10-02 07:34:22 UTC (rev 3133) @@ -206,6 +206,17 @@ } /** + * Return the initial desktop display mode. + * + * @return The desktop display mode + */ + public static DisplayMode getDesktopDisplayMode() { + synchronized (GlobalLock.lock) { + return initial_mode; + } + } + + /** * Return the current display mode, as set by setDisplayMode(). * * @return The current display mode This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |