Example usage for android.opengl GLES10 GL_NO_ERROR

List of usage examples for android.opengl GLES10 GL_NO_ERROR

Introduction

In this page you can find the example usage for android.opengl GLES10 GL_NO_ERROR.

Prototype

int GL_NO_ERROR

To view the source code for android.opengl GLES10 GL_NO_ERROR.

Click Source Link

Usage

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);
    }//from   w  w w.  ja  v a2 s . co m
    assert error == GLES10.GL_NO_ERROR;
}