Revision: 3594
http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3594&view=rev
Author: spasi
Date: 2011-07-16 22:40:06 +0000 (Sat, 16 Jul 2011)
Log Message:
-----------
Removed GLES dependency on GL APIUtil.
Modified Paths:
--------------
trunk/LWJGL/src/java/org/lwjgl/opengl/DrawableGLES.java
Modified: trunk/LWJGL/src/java/org/lwjgl/opengl/DrawableGLES.java
===================================================================
--- trunk/LWJGL/src/java/org/lwjgl/opengl/DrawableGLES.java 2011-07-16 22:26:46 UTC (rev 3593)
+++ trunk/LWJGL/src/java/org/lwjgl/opengl/DrawableGLES.java 2011-07-16 22:40:06 UTC (rev 3594)
@@ -31,6 +31,7 @@
*/
package org.lwjgl.opengl;
+import org.lwjgl.BufferUtils;
import org.lwjgl.LWJGLException;
import org.lwjgl.LWJGLUtil;
import org.lwjgl.PointerBuffer;
@@ -95,7 +96,7 @@
EGL_NATIVE_RENDERABLE, EGL_FALSE,
};
- final EGLConfig[] configs = eglDisplay.chooseConfig(pf.getAttribBuffer(eglDisplay, eglSurfaceType, attribs), null, APIUtil.getBufferInt());
+ final EGLConfig[] configs = eglDisplay.chooseConfig(pf.getAttribBuffer(eglDisplay, eglSurfaceType, attribs), null, BufferUtils.createIntBuffer(1));
if ( configs.length == 0 )
throw new LWJGLException("No EGLConfigs found for the specified PixelFormat.");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|