[Mesa-stable] [PATCH 04/15] Revert "mesa: Add ARB_direct_state_access checks in query object functions"
Ian Romanick
idr at freedesktop.org
Mon May 18 14:28:13 PDT 2015
From: Ian Romanick <ian.d.romanick at intel.com>
This reverts commit d3368e0c9e27ced6059eb2ecdf2aa999a00e90b0.
Cc: "10.6" <mesa-stable at lists.freedesktop.org>
---
src/mesa/main/queryobj.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/src/mesa/main/queryobj.c b/src/mesa/main/queryobj.c
index 2784b4c..5ff1b95 100644
--- a/src/mesa/main/queryobj.c
+++ b/src/mesa/main/queryobj.c
@@ -284,13 +284,6 @@ _mesa_CreateQueries(GLenum target, GLsizei n, GLuint *ids)
{
GET_CURRENT_CONTEXT(ctx);
- if (!ctx->Extensions.ARB_direct_state_access) {
- _mesa_error(ctx, GL_INVALID_OPERATION,
- "glCreateQueries(GL_ARB_direct_state_access "
- "is not supported)");
- return;
- }
-
switch (target) {
case GL_SAMPLES_PASSED:
case GL_ANY_SAMPLES_PASSED:
--
2.1.0
More information about the mesa-stable
mailing list