projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba9dc7e
)
fix an error test
author
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 28 Nov 2003 18:18:50 +0000
(18:18 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 28 Nov 2003 18:18:50 +0000
(18:18 +0000)
src/mesa/main/occlude.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/occlude.c
b/src/mesa/main/occlude.c
index 1285874ef6fd87bf4163c6915627eefa0e5680fd..73a29cc93921629429ffc5f269123ce1b2f9a46e 100644
(file)
--- 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;
}