X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftexture2d.cpp;h=7cad81d92a5e44e2717bbaf88f1c35d166fa8dc3;hb=dfc784f7acd3132e5fcb9c43c0bda638df3b52f2;hp=e237e504176ace2bfd56ddf74597907aee397abb;hpb=4d7f66ea28c788e12f700216b9c53af9e71b8390;p=libs%2Fgl.git diff --git a/source/texture2d.cpp b/source/texture2d.cpp index e237e504..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<