Skip to content
Snippets Groups Projects
Commit b4da1d9e authored by Ian Romanick's avatar Ian Romanick Committed by Emil Velikov
Browse files

Revert "st/mesa: Enable ARB_direct_state_access"


This reverts commit 357bf80c.

Acked-by: default avatarFredrik Höglund <fredrik@kde.org>
Cc: "10.6" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 73cf10e6)
parent 75691166
No related branches found
No related tags found
No related merge requests found
...@@ -650,12 +650,6 @@ void st_init_extensions(struct pipe_screen *screen, ...@@ -650,12 +650,6 @@ void st_init_extensions(struct pipe_screen *screen,
ARRAY_SIZE(vertex_mapping), PIPE_BUFFER, ARRAY_SIZE(vertex_mapping), PIPE_BUFFER,
PIPE_BIND_VERTEX_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) if (extensions->ARB_stencil_texturing)
extensions->ARB_texture_stencil8 = GL_TRUE; extensions->ARB_texture_stencil8 = GL_TRUE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment