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");