|
From: <ma...@us...> - 2007-01-07 20:41:46
|
Revision: 2720
http://svn.sourceforge.net/java-game-lib/?rev=2720&view=rev
Author: matzon
Date: 2007-01-07 12:41:45 -0800 (Sun, 07 Jan 2007)
Log Message:
-----------
added Display.create/destroy. Fixes an error on mac, since OpenGL has to be initialized before creating ILUT
Modified Paths:
--------------
trunk/LWJGL/src/java/org/lwjgl/test/devil/BasicTest.java
Modified: trunk/LWJGL/src/java/org/lwjgl/test/devil/BasicTest.java
===================================================================
--- trunk/LWJGL/src/java/org/lwjgl/test/devil/BasicTest.java 2007-01-07 08:41:33 UTC (rev 2719)
+++ trunk/LWJGL/src/java/org/lwjgl/test/devil/BasicTest.java 2007-01-07 20:41:45 UTC (rev 2720)
@@ -52,6 +52,7 @@
public static void main(String args[]) {
try {
+ org.lwjgl.opengl.Display.create();
IL.create();
ILU.create();
ILUT.create();
@@ -118,6 +119,7 @@
ILUT.destroy();
ILU.destroy();
IL.destroy();
+ org.lwjgl.opengl.Display.destroy();
} catch (Exception e) {
e.printStackTrace();
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|