[Mesa-stable] [PATCH 06/15] Revert "mesa: Add ARB_direct_state_access checks in sampler object functions"

Ian Romanick idr at freedesktop.org
Mon May 18 14:28:15 PDT 2015


From: Ian Romanick <ian.d.romanick at intel.com>

This reverts commit 9e7149c8986348bf9567f049444783ef52775f4e.

Cc: "10.6" <mesa-stable at lists.freedesktop.org>
---
 src/mesa/main/samplerobj.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/mesa/main/samplerobj.c b/src/mesa/main/samplerobj.c
index 60711a5..a3aacc6 100644
--- a/src/mesa/main/samplerobj.c
+++ b/src/mesa/main/samplerobj.c
@@ -221,13 +221,6 @@ void GLAPIENTRY
 _mesa_CreateSamplers(GLsizei count, GLuint *samplers)
 {
    GET_CURRENT_CONTEXT(ctx);
-
-   if (!ctx->Extensions.ARB_direct_state_access) {
-      _mesa_error(ctx, GL_INVALID_OPERATION, "glCreateSamplers("
-                  "GL_ARB_direct_state_access is not supported)");
-      return;
-   }
-
    create_samplers(ctx, count, samplers, "glCreateSamplers");
 }
 
-- 
2.1.0



More information about the mesa-stable mailing list