mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-12 14:18:31 +09:00
[Optimize] (MG_Backend/DirectGLES): Texture object mipmap dirty bit
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user