From: Elias N. <eli...@us...> - 2004-07-27 17:08:58
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/input In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5268/input Modified Files: Mouse.java Log Message: Add missing initialized check to Mouse.java Index: Mouse.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/input/Mouse.java,v retrieving revision 1.64 retrieving revision 1.65 diff -u -d -r1.64 -r1.65 --- Mouse.java 25 Jul 2004 14:28:49 -0000 1.64 +++ Mouse.java 27 Jul 2004 17:08:48 -0000 1.65 @@ -271,7 +271,8 @@ public static void create() throws LWJGLException { if (!Display.isCreated()) throw new IllegalStateException("Display must be created prior to creating mouse"); - initialize(); + if (!initialized) + initialize(); if (created) { return; } nCreate(); hasWheel = nHasWheel(); |