Browse Source

mesa: reset ErrorDebugCount to zero in glGetString()

tags/mesa_7_6_rc1
Brian Paul 16 years ago
parent
commit
def77160d6
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/mesa/main/getstring.c

+ 1
- 0
src/mesa/main/getstring.c View File

@@ -266,5 +266,6 @@ _mesa_GetError( void )
_mesa_debug(ctx, "glGetError <-- %s\n", _mesa_lookup_enum_by_nr(e));

ctx->ErrorValue = (GLenum) GL_NO_ERROR;
ctx->ErrorDebugCount = 0;
return e;
}

Loading…
Cancel
Save