From fd82a2495f607bd659c9870e58a73c5d5ec98007 Mon Sep 17 00:00:00 2001 From: BZLZHH Date: Sat, 6 Sep 2025 08:53:11 +0800 Subject: [PATCH] [Improvement] (MG_State/TextureState): Mark the mipmap as dirty by default. --- MobileGL/MG_State/GLState/TextureState/TextureObject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MobileGL/MG_State/GLState/TextureState/TextureObject.h b/MobileGL/MG_State/GLState/TextureState/TextureObject.h index ae95c41f..58a79d95 100644 --- a/MobileGL/MG_State/GLState/TextureState/TextureObject.h +++ b/MobileGL/MG_State/GLState/TextureState/TextureObject.h @@ -187,7 +187,7 @@ namespace MobileGL { struct MipmapLevelInternal : MipmapLevelBase { Data data; - Bool dirty = false; + Bool dirty = true; MipmapLevelInternal(const MipmapLevelInput& input) : MipmapLevelBase(input) { if (input.inputData.data && input.inputData.size > 0) {