   glGetError - Preventing error flag reset
  Hi,Is there any way from preventing the glGetError from resetting the error flag, or is there any way of setting the error flag again with out own value.Thanks,- Sid   
  I had the same problem and ended up w/ following work-around:static int s_glError = GL_NO_ERROR;int GetGLError() {    if (s_glError == GL_NO_ERROR) {   s_glError = glGetError();    }    return s_glError;}void ClearGLError() {    s_glError = GL_NO_ERROR;}