[Optimize] (MG_Backend/DirectGLES): Texture object mipmap dirty bit

This commit is contained in:
2026-02-02 15:37:55 +08:00
parent cb2ce8f2a5
commit 8f55179493
11 changed files with 238 additions and 162 deletions
@@ -788,6 +788,7 @@ namespace MobileGL {
auto* texBufferObject = static_cast<MG_State::GLState::TextureObjectBuffer*>(textureObject.get());
auto& bufferSlot = texBufferObject->GetBufferBindingSlot();
bufferSlot.Bind(bufferObject);
texBufferObject->SetStorageDirtyBit();
texBufferObject->SetInternalFormat(textureInternalFormat);
}