X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fextension.cpp;h=ba7dd4020d4ce9164a39e525ae520073b9fbe1cc;hp=a5ad3191b88e518bae3116039a200a784bc0d6a8;hb=b8fef9be469eb16e54068bac7e275ea225efc71c;hpb=2316272b57cf9bea26d2c35b9451910c169efafa diff --git a/source/extension.cpp b/source/extension.cpp index a5ad3191..ba7dd402 100644 --- a/source/extension.cpp +++ b/source/extension.cpp @@ -13,6 +13,7 @@ Distributed under the LGPL #include #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"))