From ea1c10790b3f33b60c66c922f373e8a89be4dd92 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 28 Mar 2021 15:30:00 +0300 Subject: [PATCH] Fix TextureCube mipmap level allocation tracking --- source/core/texturecube.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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<