Programming => LWJGL Documentation => Topic started by: ouattwtym on March 13, 2011, 14:42:45

Title: MouseTest demo minor oddness
Post by: ouattwtym on March 13, 2011, 14:42:45
http://java-game-lib.svn.sourceforge.net/viewvc/java-game-lib/trunk/LWJGL/src/java/org/lwjgl/test/input/MouseTest.java?revision=3418&content-type=text%2Fplain&pathrev=HEAD (http://java-game-lib.svn.sourceforge.net/viewvc/java-game-lib/trunk/LWJGL/src/java/org/lwjgl/test/input/MouseTest.java?revision=3418&content-type=text%2Fplain&pathrev=HEAD)

that unexplained "// secondary check" seems odd. If you get rid of it then quitting using the ESC key stops working ... which seems even odder.

I think the problem is that handleWindow() overwrites closing rather than just setting it. If you fix that the strange secondary check can be removed without breaking anything.

Is that an actual documentation bug? Should I put it in an issue-tracker somewhere?