From: Eric Anholt Date: Fri, 14 Jan 2011 22:07:28 +0000 (-0800) Subject: intel: Expose GL_ARB_ES2_compatibility. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ed93f9f3a362288328e8417a12dd337334ae5bda;p=mesa.git intel: Expose GL_ARB_ES2_compatibility. We don't have all of the features of this extension hooked up yet, but the consensus yesterday was that since those features are things that we should also be supporting in our ES2 implementation, claiming ES2 here too doesn't make anything worse and will make incremental improvement through piglit easier. --- diff --git a/src/mesa/drivers/dri/intel/intel_extensions.c b/src/mesa/drivers/dri/intel/intel_extensions.c index 00c2f99f80b..fab533f39fc 100644 --- a/src/mesa/drivers/dri/intel/intel_extensions.c +++ b/src/mesa/drivers/dri/intel/intel_extensions.c @@ -33,6 +33,7 @@ #include "utils.h" +#define need_GL_ARB_ES2_compatibility #define need_GL_ARB_draw_elements_base_vertex #define need_GL_ARB_framebuffer_object #define need_GL_ARB_map_buffer_range @@ -80,6 +81,7 @@ * i965_dri. */ static const struct dri_extension card_extensions[] = { + { "GL_ARB_ES2_compatibility", GL_ARB_ES2_compatibility_functions }, { "GL_ARB_draw_elements_base_vertex", GL_ARB_draw_elements_base_vertex_functions }, { "GL_ARB_explicit_attrib_location", NULL }, { "GL_ARB_framebuffer_object", GL_ARB_framebuffer_object_functions},