mesa: Enable ARB_direct_state_access by default for core profile
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 18 May 2015 20:56:45 +0000 (13:56 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 29 May 2015 00:02:54 +0000 (17:02 -0700)
And core profile only.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Fredrik Höglund <fredrik@kde.org>
Cc: "10.6" <mesa-stable@lists.freedesktop.org>
src/mesa/main/extensions.c

index f7ce0642aef44c9f0f65d3ba2460520770c25fae..f9bf503a06634f0b3d958780bc4dd9736dfd8a20 100644 (file)
@@ -104,7 +104,7 @@ static const struct extension extension_table[] = {
    { "GL_ARB_depth_clamp",                         o(ARB_depth_clamp),                         GL,             2003 },
    { "GL_ARB_depth_texture",                       o(ARB_depth_texture),                       GLL,            2001 },
    { "GL_ARB_derivative_control",                  o(ARB_derivative_control),                  GL,             2014 },
-   { "GL_ARB_direct_state_access",                 o(dummy_false),                             GL,             2014 },
+   { "GL_ARB_direct_state_access",                 o(dummy_true),                              GLC,            2014 },
    { "GL_ARB_draw_buffers",                        o(dummy_true),                              GL,             2002 },
    { "GL_ARB_draw_buffers_blend",                  o(ARB_draw_buffers_blend),                  GL,             2009 },
    { "GL_ARB_draw_elements_base_vertex",           o(ARB_draw_elements_base_vertex),           GL,             2009 },