Mesa (master): mesa: remove incorrect change for EXT_disjoint_timer_query

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Aug 23 22:07:29 UTC 2018


Module: Mesa
Branch: master
Commit: 356ff963ecd998aec9136441e0c4a45dadbde355
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=356ff963ecd998aec9136441e0c4a45dadbde355

Author: Marek Olšák <marek.olsak at amd.com>
Date:   Sun Aug  5 21:39:00 2018 -0400

mesa: remove incorrect change for EXT_disjoint_timer_query

Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
Tested-by: Dieter Nützel <Dieter at nuetzel-hh.de>

---

 src/mesa/main/queryobj.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/mesa/main/queryobj.c b/src/mesa/main/queryobj.c
index 7547fa1bb4..e97a0138e9 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;
       }




More information about the mesa-commit mailing list