#include <msp/strings/utils.h>
#include "arb_shader_objects.h"
#include "arb_vertex_shader.h"
+#include "ext_framebuffer_object.h"
#include "except.h"
#include "extension.h"
init_arb_shader_objects();
if(extensions.count("GL_ARB_vertex_shader"))
init_arb_vertex_shader();
+ if(extensions.count("GL_EXT_framebuffer_object"))
+ init_ext_framebuffer_object();
init_done=true;
}
ExtFunc *get_proc_address(const string &name)
{
#ifndef WIN32
- return glXGetProcAddress(reinterpret_cast<const GLubyte *>(name.c_str()));
+ return glXGetProcAddressARB(reinterpret_cast<const GLubyte *>(name.c_str()));
#endif
}