X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftexture3d.cpp;h=7b9c3590ef6bc7eb8e936e20816c36549bbdec2c;hb=0071618b8eb3553948a2601b6f9e28bd7d2cd817;hp=61c745bb95bf4d8ae3df56c1c94c7aec43a686f7;hpb=4d7f66ea28c788e12f700216b9c53af9e71b8390;p=libs%2Fgl.git diff --git a/source/texture3d.cpp b/source/texture3d.cpp index 61c745bb..7b9c3590 100644 --- a/source/texture3d.cpp +++ b/source/texture3d.cpp @@ -60,6 +60,7 @@ void Texture3D::image(unsigned level, PixelFormat fmt, DataType type, const void allocated |= 1<>=1, h>>=1, d>>=1, ++level) ; allocated |= (1<