aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-08-05 21:39:00 -0400
committerMarek Olšák <[email protected]>2018-08-23 16:56:17 -0400
commit356ff963ecd998aec9136441e0c4a45dadbde355 (patch)
tree7304ce3082ccac3bee091fe345eb6f615dc9eac3
parent37eee90df730ac6ba371b2ba8e61a1db9e55d7df (diff)
mesa: remove incorrect change for EXT_disjoint_timer_query
Reviewed-by: Tapani Pälli <[email protected]> Tested-by: Dieter Nützel <[email protected]>
-rw-r--r--src/mesa/main/queryobj.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/main/queryobj.c b/src/mesa/main/queryobj.c
index 7547fa1bb4d..e97a0138e96 100644
--- a/src/mesa/main/queryobj.c
+++ b/src/mesa/main/queryobj.c
@@ -822,8 +822,7 @@ get_query_object(struct gl_context *ctx, const char *func,
if (buf && buf != ctx->Shared->NullBufferObj) {
bool is_64bit = ptype == GL_INT64_ARB ||
ptype == GL_UNSIGNED_INT64_ARB;
- if (!ctx->Extensions.ARB_query_buffer_object &&
- !ctx->Extensions.EXT_disjoint_timer_query) {
+ if (!ctx->Extensions.ARB_query_buffer_object) {
_mesa_error(ctx, GL_INVALID_OPERATION, "%s(not supported)", func);
return;
}