|
From: Elias N. <eli...@us...> - 2003-09-23 11:01:14
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl In directory sc8-pr-cvs1:/tmp/cvs-serv18632/src/java/org/lwjgl/opengl Modified Files: Window.java Log Message: Removed mac os x hack again Index: Window.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/Window.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/Window.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- Window.java 17 Sep 2003 10:48:00 -0000 1.9 +++ Window.java 23 Sep 2003 11:00:37 -0000 1.10 @@ -28,15 +28,6 @@ static { System.loadLibrary(Sys.getLibraryName()); - /* - * HACK: This is nescessary to establish the Mac OS X dock icon and - * system menu. Without them, windows will misbehave. - * - * I'm accepting this hack on the assumption that awt is always present - * on an Mac OS X JVM. - */ - if (Display.getPlatform() == Display.PLATFORM_AGL) - java.awt.Toolkit.getDefaultToolkit(); } /** Whether the window is currently created, ie. has a native peer */ |