public static void checkGlError()

in app/src/main/java/com/facebook/sample/gles/GLHelpers.java [24:32]


    public static void checkGlError(String op) {
        int error = GLES20.glGetError();
        if (error == GLES20.GL_NO_ERROR) {
            return;
        }
        String msg = op + ": glError 0x" + Integer.toHexString(error);
        Log.e(TAG, msg);
        throw new RuntimeException(msg);
    }