]> git.tdb.fi Git - libs/gl.git/blobdiff - source/programdata.cpp
Move extension requirements from ProgramData to UniformBlock
[libs/gl.git] / source / programdata.cpp
index 1287914005055ff91bb2102260daf4b28d50e710..bdbe4c1d9e4427721e73096a7b74570e73d26786 100644 (file)
@@ -1,4 +1,3 @@
-#include <msp/gl/extensions/arb_shader_objects.h>
 #include "buffer.h"
 #include "color.h"
 #include "error.h"
@@ -18,9 +17,7 @@ ProgramData::ProgramData():
        last_block(0),
        buffer(0),
        changes(NO_CHANGES)
-{
-       static Require _req(ARB_shader_objects);
-}
+{ }
 
 // Blocks are intentionally left uncopied
 ProgramData::ProgramData(const ProgramData &other):