st/dri: make the GL_ARB_map_buffer_range entrypoints available
authorBen Skeggs <bskeggs@redhat.com>
Wed, 26 Aug 2009 06:17:37 +0000 (16:17 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 26 Aug 2009 06:18:39 +0000 (16:18 +1000)
src/gallium/state_trackers/dri/dri_extensions.c

index 7c04c2b970e99a94ef7169df70acf30999730d22..4349a4d1d2fd82ab0c04772b6cfcb556c36a0f0f 100644 (file)
@@ -33,6 +33,7 @@
 #include "dri_context.h"
 #include "state_tracker/st_context.h"
 
+#define need_GL_ARB_map_buffer_range
 #define need_GL_ARB_multisample
 #define need_GL_ARB_occlusion_query
 #define need_GL_ARB_point_parameters
@@ -61,6 +62,7 @@
  */
 const struct dri_extension card_extensions[] = {
    {"GL_ARB_fragment_shader", NULL},
+   {"GL_ARB_map_buffer_range", GL_ARB_map_buffer_range_functions},
    {"GL_ARB_multisample", GL_ARB_multisample_functions},
    {"GL_ARB_multitexture", NULL},
    {"GL_ARB_occlusion_query", GL_ARB_occlusion_query_functions},