X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Ftexture3d.cpp;h=11fcf5263c602cdf895e28ca481036de8dd4fcbe;hp=6515946bb2bba5885dd6dd6d5c425438804cc400;hb=f14435e58bfa0fa697a06ba9a454bb30cd37d9d8;hpb=cd446554e998204eaba22504b7b28227feb8edbb diff --git a/source/texture3d.cpp b/source/texture3d.cpp index 6515946b..11fcf526 100644 --- a/source/texture3d.cpp +++ b/source/texture3d.cpp @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspgl -Copyright © 2007 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #include #include #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)