]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texturecube.cpp
Complete rewrite of extension handling
[libs/gl.git] / source / texturecube.cpp
index ddb0c1e05189113257d55d94656e1c4391fa3fa9..bbe6a6b679fe259915e6710036ed75336634816e 100644 (file)
@@ -1,6 +1,6 @@
+#include "arb_texture_cube_map.h"
 #include "bindable.h"
 #include "error.h"
-#include "extension.h"
 #include "texturecube.h"
 
 using namespace std;
@@ -23,7 +23,7 @@ TextureCube::TextureCube():
        size(0),
        allocated(0)
 {
-       static RequireVersion _ver(1, 3);
+       static Require _req(ARB_texture_cube_map);
 }
 
 void TextureCube::storage(PixelFormat fmt, unsigned sz)