mesa: remove incorrect change for EXT_disjoint_timer_query
authorMarek Olšák <marek.olsak@amd.com>
Mon, 6 Aug 2018 01:39:00 +0000 (21:39 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 23 Aug 2018 20:56:17 +0000 (16:56 -0400)
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
src/mesa/main/queryobj.c

index 7547fa1bb4d9a97720b2a78316f75436c10b0c21..e97a0138e96793d1771a92a286981773ae6f1a24 100644 (file)
@@ -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;
       }