From: <sp...@us...> - 2009-12-01 13:06:03
|
Revision: 3257 http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3257&view=rev Author: spasi Date: 2009-12-01 11:39:48 +0000 (Tue, 01 Dec 2009) Log Message: ----------- Fixed GetSync signature. Modified Paths: -------------- trunk/LWJGL/src/java/org/lwjgl/test/opengl/SyncTest.java Modified: trunk/LWJGL/src/java/org/lwjgl/test/opengl/SyncTest.java =================================================================== --- trunk/LWJGL/src/java/org/lwjgl/test/opengl/SyncTest.java 2009-12-01 03:37:27 UTC (rev 3256) +++ trunk/LWJGL/src/java/org/lwjgl/test/opengl/SyncTest.java 2009-12-01 11:39:48 UTC (rev 3257) @@ -132,7 +132,7 @@ } IntBuffer property = BufferUtils.createIntBuffer(1); - GL32.glGetSynciv(sync, GL32.GL_SYNC_STATUS, null, property); + GL32.glGetSync(sync, GL32.GL_SYNC_STATUS, null, property); System.out.println("Sync Status: " + (property.get(0) == GL32.GL_UNSIGNALED ? "UNSIGNALED" : "SIGNALED")); GL32.glDeleteSync(sync); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |