private static void checkNoGLES2Error() { int error = GLES20.GlGetError(); abortUnless(error == GLES20.GlNoError, "GLES20 error: " + error); }