diff options
author | Brian Paul <[email protected]> | 2003-11-28 18:18:50 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-11-28 18:18:50 +0000 |
commit | c99e2dd1d38db25d393a33870778a8eeb1a23020 (patch) | |
tree | fab8b078609c410404d248a4e5d5246a8ee45ab3 /src/mesa | |
parent | ba9dc7ecf385a8896c84888e61d6a3573e72a78d (diff) |
fix an error test
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/occlude.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/occlude.c b/src/mesa/main/occlude.c index 1285874ef6f..73a29cc9392 100644 --- a/src/mesa/main/occlude.c +++ b/src/mesa/main/occlude.c @@ -234,7 +234,7 @@ _mesa_EndQueryARB(GLenum target) _mesa_HashLookup(ctx->Occlusion.QueryObjects, ctx->Occlusion.CurrentQueryObject); if (!q || !q->Active) { - _mesa_problem(ctx, "bad query object in glEndQueryARB"); + _mesa_error(ctx, GL_INVALID_OPERATION, "glEndQuery with glBeginQuery"); return; } |