From: Nicolas Kaiser Date: Tue, 7 Jun 2011 21:56:03 +0000 (+0200) Subject: mga: enable GL_ARB_vertex_array_object extension X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1d71bbed3bbeb99d954cc137e4923c5db6e063c8;p=mesa.git mga: enable GL_ARB_vertex_array_object extension Tested on a Matrox G550 AGP. Signed-off-by: Nicolas Kaiser Signed-off-by: Brian Paul --- diff --git a/src/mesa/drivers/dri/mga/mga_xmesa.c b/src/mesa/drivers/dri/mga/mga_xmesa.c index eb7df9785c1..6ec99dbc3ba 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 */