]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texture1d.cpp
Support OpenGL ES on Android
[libs/gl.git] / source / texture1d.cpp
index f700d013b5dc6a55f88196695b8a8ec83b2242b9..a0876aced2d57f987d06f45660de8d8f9f456078 100644 (file)
@@ -1,3 +1,4 @@
+#include <msp/gl/extensions/msp_texture1d.h>
 #include "bindable.h"
 #include "error.h"
 #include "texture1d.h"
@@ -12,7 +13,9 @@ Texture1D::Texture1D():
        ifmt(RGB),
        width(0),
        allocated(0)
-{ }
+{
+       static Require _req(MSP_texture1D);
+}
 
 void Texture1D::storage(PixelFormat fmt, unsigned wd)
 {