From: Mikko Rasa Date: Sun, 28 Mar 2021 12:30:00 +0000 (+0300) Subject: Fix TextureCube mipmap level allocation tracking X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=ea1c10790b3f33b60c66c922f373e8a89be4dd92;p=libs%2Fgl.git Fix TextureCube mipmap level allocation tracking --- diff --git a/source/core/texturecube.cpp b/source/core/texturecube.cpp index d006e383..3e0b9fc1 100644 --- a/source/core/texturecube.cpp +++ b/source/core/texturecube.cpp @@ -79,7 +79,7 @@ void TextureCube::allocate(unsigned level) BindRestore _bind(this); glTexStorage2D(target, levels, storage_fmt, size, size); apply_swizzle(); - allocated |= (1<