]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texture3d.cpp
Drop Id tags and copyright notices from files
[libs/gl.git] / source / texture3d.cpp
index 6515946bb2bba5885dd6dd6d5c425438804cc400..11fcf5263c602cdf895e28ca481036de8dd4fcbe 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of libmspgl
-Copyright © 2007  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #include <cmath>
 #include <msp/gbase/image.h>
 #include "bindable.h"
@@ -39,8 +32,6 @@ void Texture3D::storage(PixelFormat f, unsigned w, unsigned h, unsigned d)
        height = h;
        depth = d;
        ifmt = f;
-
-       image(0, ifmt, UNSIGNED_BYTE, 0);
 }
 
 void Texture3D::allocate(unsigned level)