public final class Util
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
checkGLError()
Checks for OpenGL ES errors.
|
static java.lang.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 java.lang.String translateGLErrorString(int error_code)
error_code - the OpenGL ES error codeCopyright © 2002-2009 lwjgl.org. All Rights Reserved.