mesa: added extension flag for ARB_vertex_array_object
authorBrian Paul <brianp@vmware.com>
Mon, 22 Jun 2009 22:47:45 +0000 (16:47 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 22 Jun 2009 22:47:45 +0000 (16:47 -0600)
src/mesa/main/extensions.c
src/mesa/main/mtypes.h

index 96552599a80883c63f7b8164e4ee07cd9b59929f..c60b58a4926e9d256fbd902cc32ca38f01c466c5 100644 (file)
@@ -78,6 +78,7 @@ static const struct {
    { OFF, "GL_ARB_texture_non_power_of_two",   F(ARB_texture_non_power_of_two)},
    { OFF, "GL_ARB_texture_rectangle",          F(NV_texture_rectangle) },
    { ON,  "GL_ARB_transpose_matrix",           F(ARB_transpose_matrix) },
+   { OFF, "GL_ARB_vertex_array_object",        F(ARB_vertex_array_object) },
    { ON,  "GL_ARB_vertex_buffer_object",       F(ARB_vertex_buffer_object) },
    { OFF, "GL_ARB_vertex_program",             F(ARB_vertex_program) },
    { OFF, "GL_ARB_vertex_shader",              F(ARB_vertex_shader) },
@@ -227,6 +228,7 @@ _mesa_enable_sw_extensions(GLcontext *ctx)
    /*ctx->Extensions.ARB_texture_float = GL_TRUE;*/
    ctx->Extensions.ARB_texture_mirrored_repeat = GL_TRUE;
    ctx->Extensions.ARB_texture_non_power_of_two = GL_TRUE;
+   ctx->Extensions.ARB_vertex_array_object = GL_TRUE;
 #if FEATURE_ARB_vertex_program
    ctx->Extensions.ARB_vertex_program = GL_TRUE;
 #endif
index 0d082cbc8a7bac244daab885c4598a6e24aaa969..135eedbcabf1479b608afdedf58b9b9a7a114068 100644 (file)
@@ -2468,6 +2468,7 @@ struct gl_extensions
    GLboolean ARB_texture_mirrored_repeat;
    GLboolean ARB_texture_non_power_of_two;
    GLboolean ARB_transpose_matrix;
+   GLboolean ARB_vertex_array_object;
    GLboolean ARB_vertex_buffer_object;
    GLboolean ARB_vertex_program;
    GLboolean ARB_vertex_shader;