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