From: Caspian Rychlik-P. <ci...@us...> - 2002-08-19 14:29:57
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl In directory usw-pr-cvs1:/tmp/cvs-serv12471/src/java/org/lwjgl Modified Files: Sys.java Log Message: Encapsulated LIBRARY_NAME (properly!) Index: Sys.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/Sys.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/Sys.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- Sys.java 19 Aug 2002 13:59:16 -0000 1.8 +++ Sys.java 19 Aug 2002 14:29:54 -0000 1.9 @@ -74,10 +74,6 @@ */ public static final int REALTIME_PRIORITY = 2; - static { - initialize(); - } - /** The native library name */ private static String LIBRARY_NAME; @@ -89,6 +85,8 @@ // Assertions are enabled, so we'll use the debug version of the // library LIBRARY_NAME = "lwjgl_d"; + } finally { + initialize(); } } |