]> git.tdb.fi Git - libs/gl.git/blobdiff - source/extension.cpp
Use DevIL for loading images
[libs/gl.git] / source / extension.cpp
index 2d57d1d12224155e8b9ade1f3e488c2d35c8e7c7..e250bb249c9f04fd9fce24ebd3a42762ded9657d 100644 (file)
@@ -13,6 +13,7 @@ Distributed under the LGPL
 #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"
 
@@ -40,6 +41,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_EXT_framebuffer_object"))
+                       init_ext_framebuffer_object();
 
                init_done=true;
        }