Mesa (master): swrast: enable ARB_vertex_array_object.

Eric Anholt anholt at kemper.freedesktop.org
Wed Jul 29 18:26:43 UTC 2009


Module: Mesa
Branch: master
Commit: 88ebf514a41ae460dad08a4585a61541864a4432
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=88ebf514a41ae460dad08a4585a61541864a4432

Author: Eric Anholt <eric at anholt.net>
Date:   Tue Jul 28 13:51:29 2009 -0700

swrast: enable ARB_vertex_array_object.

It was getting enabled anyway but without the entrypoints installed.  Whoops.

---

 src/mesa/drivers/dri/swrast/swrast.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/mesa/drivers/dri/swrast/swrast.c b/src/mesa/drivers/dri/swrast/swrast.c
index fbfa49c..3aa7843 100644
--- a/src/mesa/drivers/dri/swrast/swrast.c
+++ b/src/mesa/drivers/dri/swrast/swrast.c
@@ -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 },




More information about the mesa-commit mailing list