[Fix] (MG_State/TextureState): Add missing TextureUnit::GetSamplerObject()

This commit is contained in:
BZLZHH
2025-11-01 12:03:20 +08:00
parent c4992797c7
commit 7abd9af8b6
@@ -22,6 +22,10 @@ namespace MobileGL {
void TextureUnit::SetSamplerObject(SharedPtr<SamplerObject> sampler) {
m_sampler = sampler;
}
SharedPtr<SamplerObject> TextureUnit::GetSamplerObject() const {
return m_sampler;
}
} // namespace GLState
} // namespace MG_State
} // namespace MobileGL