]> git.tdb.fi Git - libs/gl.git/blobdiff - source/extension.cpp
Rewrite VertexFormat to support an arbitary amount of components
[libs/gl.git] / source / extension.cpp
index a5ad3191b88e518bae3116039a200a784bc0d6a8..ba7dd4020d4ce9164a39e525ae520073b9fbe1cc 100644 (file)
@@ -13,6 +13,7 @@ Distributed under the LGPL
 #include <msp/strings/utils.h>
 #include "arb_shader_objects.h"
 #include "arb_vertex_buffer_object.h"
+#include "arb_vertex_program.h"
 #include "arb_vertex_shader.h"
 #include "ext_framebuffer_object.h"
 #include "except.h"
@@ -45,6 +46,8 @@ bool is_supported(const string &ext)
                        init_arb_shader_objects();
                if(extensions.count("GL_ARB_vertex_shader"))
                        init_arb_vertex_shader();
+               if(extensions.count("GL_ARB_vertex_program"))
+                       init_arb_vertex_program();
                if(extensions.count("GL_EXT_framebuffer_object"))
                        init_ext_framebuffer_object();
                if(extensions.count("GL_ARB_vertex_buffer_object"))