aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/queryobj.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-11-21 09:05:28 +0100
committermarha <marha@users.sourceforge.net>2012-11-21 09:05:28 +0100
commit7fe89ca9151b68386fb6c9da1bd9fc8e9a33a796 (patch)
tree0d078a56d8bcd7ffa319c9d6926aef3db5a7052b /mesalib/src/mesa/main/queryobj.c
parent589f5feba1e7968b7318b02f4f2bdea81937f0e1 (diff)
parent38eb7612c4b39dd69df4baf4450ba512e888effa (diff)
downloadvcxsrv-7fe89ca9151b68386fb6c9da1bd9fc8e9a33a796.tar.gz
vcxsrv-7fe89ca9151b68386fb6c9da1bd9fc8e9a33a796.tar.bz2
vcxsrv-7fe89ca9151b68386fb6c9da1bd9fc8e9a33a796.zip
Merge remote-tracking branch 'origin/released'
* origin/released: Git update 21 nov 2012
Diffstat (limited to 'mesalib/src/mesa/main/queryobj.c')
-rw-r--r--mesalib/src/mesa/main/queryobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesalib/src/mesa/main/queryobj.c b/mesalib/src/mesa/main/queryobj.c
index 55d3681c1..20799e843 100644
--- a/mesalib/src/mesa/main/queryobj.c
+++ b/mesalib/src/mesa/main/queryobj.c
@@ -321,7 +321,7 @@ _mesa_BeginQueryIndexed(GLenum target, GLuint index, GLuint id)
q = _mesa_lookup_query_object(ctx, id);
if (!q) {
- if (ctx->API == API_OPENGL_CORE) {
+ if (ctx->API != API_OPENGL) {
_mesa_error(ctx, GL_INVALID_OPERATION,
"glBeginQuery{Indexed}(non-gen name)");
return;