summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2015-05-18 13:54:11 -0700
committerIan Romanick <[email protected]>2015-05-28 16:56:32 -0700
commita9f678a8f4d4f9806dc4e931477fad300c61b4a1 (patch)
tree21e3f3015c4b57201e7a6b0f9812a4bc113b2702 /src/mesa/main
parentf1fcf79e3c8e4f3594dc1b6d268430f8e8d4eb97 (diff)
Revert "mesa: Add ARB_direct_state_access checks in query object functions"
This reverts commit d3368e0c9e27ced6059eb2ecdf2aa999a00e90b0. Acked-by: Fredrik Höglund <[email protected]> Cc: "10.6" <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/queryobj.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mesa/main/queryobj.c b/src/mesa/main/queryobj.c
index 2784b4c0532..5ff1b953231 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: