public static void checkGLErrorForced() {
        int error = GLES20.glGetError();
        if (error != 0) {
            String message = GLU.gluErrorString(error);
            if (message == null) {
                throw new RendererException("An unknown OpenGL error has occurred.");
            } else {
                throw new RendererException("An OpenGL error has occurred: " + message);
            }
        }
    }
Checks for an OpenGL error and throws a {@link RendererException} if
there is one. Ignores the value of
{@link RendererUtil#ENABLE_ERROR_CHECKING}.
jme3-android/src/main/java/com/jme3/renderer/android/RendererUtil.java