mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-12 14:18:31 +09:00
[Fix] (MG_State/TextureState): Add missing TextureUnit::GetSamplerObject()
This commit is contained in:
@@ -22,6 +22,10 @@ namespace MobileGL {
|
|||||||
void TextureUnit::SetSamplerObject(SharedPtr<SamplerObject> sampler) {
|
void TextureUnit::SetSamplerObject(SharedPtr<SamplerObject> sampler) {
|
||||||
m_sampler = sampler;
|
m_sampler = sampler;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SharedPtr<SamplerObject> TextureUnit::GetSamplerObject() const {
|
||||||
|
return m_sampler;
|
||||||
|
}
|
||||||
} // namespace GLState
|
} // namespace GLState
|
||||||
} // namespace MG_State
|
} // namespace MG_State
|
||||||
} // namespace MobileGL
|
} // namespace MobileGL
|
||||||
Reference in New Issue
Block a user