List of usage examples for android.opengl GLES10 glGetError
public static native int glGetError();
From source file:com.adobe.plugins.FastCanvasRenderer.java
private void checkError() { int error = GLES10.glGetError(); if (error != GLES10.GL_NO_ERROR) { Log.i("CANVAS", "CanvasRenderer glError=" + error); }/*w ww. j a v a 2 s .c o m*/ assert error == GLES10.GL_NO_ERROR; }