glClearError static method

void glClearError(
  1. OpenGLContextES gl
)

Implementation

static void glClearError(OpenGLContextES gl) {
  while (gl.getError() != GL_NO_ERROR) {}
}