/* $Id$
This file is part of libmspgl
-Copyright © 2007 Mikko Rasa, Mikkosoft Productions
+Copyright © 2007, 2009-2010 Mikko Rasa, Mikkosoft Productions
Distributed under the LGPL
*/
#include <set>
#ifndef WIN32
+#define GLX_GLXEXT_PROTOTYPES
#include <GL/glx.h>
#endif
#include <msp/strings/formatter.h>
#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"
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"))
init_version_1_2();
if(combined>=0x103)
init_version_1_3();
+
+ init_done = true;
}
return version;