Tested on a Matrox G550 AGP. I noticed that the two piglit VAO tests as well as the vao_demo only test APPLE_vertex_array_object, which is already enabled on mga.
However, the bufferobj test appears to use the extension: before: $ tests/bufferobj GL_RENDERER = Mesa DRI G400 AGP 1x Using GL_ARB_vertex_array_object: no $ glewinfo |grep _vertex_array_object GL_APPLE_vertex_array_object: OK GL_ARB_vertex_array_object: OK [MISSING] GL_ATI_vertex_array_object: MISSING after: $ tests/bufferobj GL_RENDERER = Mesa DRI G400 AGP 1x Using GL_ARB_vertex_array_object: yes $ glewinfo |grep _vertex_array_object GL_APPLE_vertex_array_object: OK GL_ARB_vertex_array_object: OK GL_ATI_vertex_array_object: MISSING Signed-off-by: Nicolas Kaiser <ni...@nikai.net> --- src/mesa/drivers/dri/mga/mga_xmesa.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/mesa/drivers/dri/mga/mga_xmesa.c b/src/mesa/drivers/dri/mga/mga_xmesa.c index eb7df97..6ec99db 100644 --- a/src/mesa/drivers/dri/mga/mga_xmesa.c +++ b/src/mesa/drivers/dri/mga/mga_xmesa.c @@ -66,6 +66,7 @@ #include "GL/internal/dri_interface.h" +#define need_GL_ARB_vertex_array_object #define need_GL_ARB_vertex_program #define need_GL_EXT_fog_coord #define need_GL_EXT_gpu_program_parameters @@ -382,6 +383,7 @@ static const struct dri_extension g400_extensions[] = static const struct dri_extension card_extensions[] = { { "GL_ARB_texture_rectangle", NULL }, + { "GL_ARB_vertex_array_object", GL_ARB_vertex_array_object_functions }, { "GL_EXT_blend_logic_op", NULL }, { "GL_EXT_fog_coord", GL_EXT_fog_coord_functions }, /* paletted_textures currently doesn't work, but we could fix them later */ -- 1.7.5.3 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev