]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texture3d.cpp
Get rid of the typedefs for fundamental types
[libs/gl.git] / source / texture3d.cpp
index 2fc4f997396e3dcf7f3f1a9417532c8cd3364f9c..b34e20cd5d4f757ca9e663bcf3053b00799419b0 100644 (file)
@@ -22,13 +22,13 @@ Texture3D::Texture3D():
        height(0),
        depth(0)
 {
-       require_version(1, 3);
+       static RequireVersion _ver(1, 3);
 
        target=GL_TEXTURE_3D;
        bind();
 }
 
-void Texture3D::storage(PixelFormat f, sizei w, sizei h, sizei d, int b)
+void Texture3D::storage(PixelFormat f, unsigned w, unsigned h, unsigned d, int b)
 {
        if(width>0)
                throw InvalidState("Textures may only be created once");