[Mesa-stable] [PATCH 05/15] Revert "mesa: Add ARB_direct_state_access checks in program pipeline functions"

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


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

This reverts commit bebf3c6ab314bde05ac5a3b4d3e63fd36243c58e.

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

diff --git a/src/mesa/main/pipelineobj.c b/src/mesa/main/pipelineobj.c
index a33cdd1..0fefa7d 100644
--- a/src/mesa/main/pipelineobj.c
+++ b/src/mesa/main/pipelineobj.c
@@ -553,12 +553,6 @@ _mesa_CreateProgramPipelines(GLsizei n, GLuint *pipelines)
 {
    GET_CURRENT_CONTEXT(ctx);
 
-   if (!ctx->Extensions.ARB_direct_state_access) {
-      _mesa_error(ctx, GL_INVALID_OPERATION, "glCreateProgramPipelines("
-                  "GL_ARB_direct_state_access is not supported)");
-      return;
-   }
-
    create_program_pipelines(ctx, n, pipelines, true);
 }
 
-- 
2.1.0



More information about the mesa-stable mailing list