X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftexture2d.cpp;h=7cad81d92a5e44e2717bbaf88f1c35d166fa8dc3;hb=7d7a8f9e77a526fd5f2920b9005805e56a4b686c;hp=2ea713eb3a539c9705e13f90b2775ff9b643fdfd;hpb=946266e823c07025f115b5e4f5523b496dcb393e;p=libs%2Fgl.git diff --git a/source/texture2d.cpp b/source/texture2d.cpp index 2ea713eb..7cad81d9 100644 --- a/source/texture2d.cpp +++ b/source/texture2d.cpp @@ -74,6 +74,7 @@ void Texture2D::image(unsigned level, PixelFormat fmt, DataType type, const void allocated |= 1<>=1, h>>=1, ++level) ; allocated |= (1<