Revert "mesa: Add ARB_direct_state_access checks in program pipeline functions"
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 18 May 2015 20:54:15 +0000 (13:54 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 28 May 2015 23:56:32 +0000 (16:56 -0700)
This reverts commit bebf3c6ab314bde05ac5a3b4d3e63fd36243c58e.

Acked-by: Fredrik Höglund <fredrik@kde.org>
Cc: "10.6" <mesa-stable@lists.freedesktop.org>
src/mesa/main/pipelineobj.c

index a33cdd139c8f17aa471ed3d1576987f39bf033eb..0fefa7d568b5da5e954e830c0fdfb23ec4022154 100644 (file)
@@ -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);
 }