X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftexture3d.cpp;h=70dcf7725568bef6637f18cf95fe1d89e5c61493;hb=5172d32d67595ea0b70184fadcfcb8e023cccbc8;hp=6515946bb2bba5885dd6dd6d5c425438804cc400;hpb=cd446554e998204eaba22504b7b28227feb8edbb;p=libs%2Fgl.git diff --git a/source/texture3d.cpp b/source/texture3d.cpp index 6515946b..70dcf772 100644 --- a/source/texture3d.cpp +++ b/source/texture3d.cpp @@ -39,8 +39,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)