Revert "st/mesa: Enable ARB_direct_state_access"
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 18 May 2015 20:53:49 +0000 (13:53 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 28 May 2015 23:56:31 +0000 (16:56 -0700)
This reverts commit 357bf80caade9e0be20dcc88ec38884e34abc986.

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

index 23a45883d9af68539c8e74e43727ba274f41d3e5..b1057f3eaddd2a57a1f4fb064b3d9672237329f4 100644 (file)
@@ -650,12 +650,6 @@ void st_init_extensions(struct pipe_screen *screen,
                           ARRAY_SIZE(vertex_mapping), PIPE_BUFFER,
                           PIPE_BIND_VERTEX_BUFFER);
 
-   /* ARB_direct_state_access requires OpenGL 2.0. Assume that all drivers
-    * that support NPOT textures are able to support GL 2.0.
-    */
-   if (extensions->ARB_texture_non_power_of_two)
-      extensions->ARB_direct_state_access = GL_TRUE;
-
    if (extensions->ARB_stencil_texturing)
       extensions->ARB_texture_stencil8 = GL_TRUE;