|
From: Elias N. <eli...@us...> - 2005-12-27 11:03:56
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/win32 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29567/src/native/win32 Modified Files: display.c Log Message: Win32: Removed unused cruft from display.c Index: display.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/win32/display.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- display.c 27 Dec 2005 08:54:56 -0000 1.9 +++ display.c 27 Dec 2005 11:03:33 -0000 1.10 @@ -48,28 +48,17 @@ #include "display.h" #include "common_tools.h" -#define WINDOWCLASSNAME "LWJGLWINDOW" - #define GAMMA_SIZE (3*256) -static jobjectArray GetAvailableDisplayModesEx(JNIEnv * env); -static char * getDriver(); static bool modeSet = false; // Whether we've done a display mode change static WORD originalGamma[GAMMA_SIZE]; // Original gamma settings static WORD currentGamma[GAMMA_SIZE]; // Current gamma settings static DEVMODE devmode; // Now we'll remember this value for the future -extern HWND display_hwnd; // Handle to the window - -jobjectArray getAvailableDisplayModes(JNIEnv *env) -{ - jobjectArray result = GetAvailableDisplayModesEx(env); - return result; -} /** * Choose displaymodes using extended codepath (multiple displaydevices) */ -static jobjectArray GetAvailableDisplayModesEx(JNIEnv * env) { +jobjectArray getAvailableDisplayModes(JNIEnv * env) { int i = 0, j = 0, n = 0; |