diff options
Diffstat (limited to 'src/mesa/main/occlude.c')
-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; } |