summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/queryobj.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-05-28 19:11:07 +0200
committerMarek Olšák <[email protected]>2015-07-23 00:59:25 +0200
commitfa602c208815c3e4d757072cadc00e617e30b933 (patch)
tree04146c1a6b49be719418eb9b9f0949d04a14a2cf /src/mesa/main/queryobj.c
parenta894ed82931840713aac25634ed469ac65889bfa (diff)
mesa: add _mesa_has_tessellation
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/queryobj.c')
-rw-r--r--src/mesa/main/queryobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/queryobj.c b/src/mesa/main/queryobj.c
index e5c6f9ae31e..98366857f62 100644
--- a/src/mesa/main/queryobj.c
+++ b/src/mesa/main/queryobj.c
@@ -217,7 +217,7 @@ get_query_binding_point(struct gl_context *ctx, GLenum target, GLuint index)
case GL_TESS_CONTROL_SHADER_PATCHES_ARB:
case GL_TESS_EVALUATION_SHADER_INVOCATIONS_ARB:
- if (ctx->Extensions.ARB_tessellation_shader)
+ if (_mesa_has_tessellation(ctx))
return get_pipe_stats_binding_point(ctx, target);
else
return NULL;