swrast: enable ARB_vertex_array_object.
authorEric Anholt <eric@anholt.net>
Tue, 28 Jul 2009 20:51:29 +0000 (13:51 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 29 Jul 2009 18:17:53 +0000 (11:17 -0700)
It was getting enabled anyway but without the entrypoints installed.  Whoops.

src/mesa/drivers/dri/swrast/swrast.c

index fbfa49c99d02a5fa0f510eec9ccdab274ca98014..3aa7843b1bc8e7af9af9b32b54608bb63e88481e 100644 (file)
@@ -63,6 +63,7 @@
 
 /* sw extensions not associated with some GL version */
 #define need_GL_ARB_shader_objects
+#define need_GL_ARB_vertex_array_object
 #define need_GL_ARB_vertex_program
 #define need_GL_APPLE_vertex_array_object
 #define need_GL_ATI_fragment_shader
@@ -94,6 +95,7 @@ const struct dri_extension card_extensions[] =
     { "GL_SGI_color_table",            GL_SGI_color_table_functions },
 
     { "GL_ARB_shader_objects",         GL_ARB_shader_objects_functions },
+    { "GL_ARB_vertex_array_object",    GL_ARB_vertex_array_object_functions },
     { "GL_ARB_vertex_program",         GL_ARB_vertex_program_functions },
     { "GL_APPLE_vertex_array_object",  GL_APPLE_vertex_array_object_functions },
     { "GL_ATI_fragment_shader",                GL_ATI_fragment_shader_functions },