public final class Util extends Object
Modifier and Type | Method | Description |
---|---|---|
static void |
checkGLError() |
Checks for OpenGL ES errors.
|
static String |
translateGLErrorString(int error_code) |
Translates a GL error code to a String describing the error.
|
public static void checkGLError() throws OpenGLException
OpenGLException
- if GLES20.glGetError() returns anything else than GLES20.GL_NO_ERRORpublic static String translateGLErrorString(int error_code)
error_code
- the OpenGL ES error codeCopyright © 2002-2009 lwjgl.org. All Rights Reserved.