public class RendererUtil
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| static boolean | ENABLE_ERROR_CHECKINGWhen set to true, every OpenGL call will check for errors and throw an
 exception if there is one, if false, no error checking is performed. | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | checkEGLError(javax.microedition.khronos.egl.EGL10 egl)Checks for an EGL error and throws a  RendererExceptionif there
 is one. | 
| static void | checkGLError()Checks for an OpenGL error and throws a  RendererExceptionif
 there is one. | 
| static void | checkGLErrorForced()Checks for an OpenGL error and throws a  RendererExceptionif
 there is one. | 
public static boolean ENABLE_ERROR_CHECKING
public static void checkGLErrorForced()
RendererException if
 there is one. Ignores the value of
 ENABLE_ERROR_CHECKING.public static void checkEGLError(javax.microedition.khronos.egl.EGL10 egl)
RendererException if there
 is one. Ignores the value of ENABLE_ERROR_CHECKING.egl - (not null)public static void checkGLError()
RendererException if
 there is one. Does nothing if ENABLE_ERROR_CHECKING
 is set to
 false.