[Fix] (MG_State/TextureState): Fix incorrect behavior.

This commit is contained in:
BZLZHH
2025-08-12 18:11:36 +08:00
parent a78c53ecdd
commit 4eba014513
7 changed files with 14 additions and 8 deletions
@@ -18,6 +18,10 @@ namespace MobileGL {
GetAllBindingSlots() {
return m_slots;
}
void TextureUnit::SetSamplerObject(SharedPtr<SamplerObject> sampler) {
m_sampler = sampler;
}
} // namespace GLState
} // namespace MG_State
} // namespace MobileGL