[Improvement] (MG_State/RenderState): Remove redundant cullFaceEnabled setter/getter.

This commit is contained in:
BZLZHH
2025-10-03 12:25:36 +08:00
parent 1e2922faa5
commit 30d4964a5e
4 changed files with 2 additions and 20 deletions
-8
View File
@@ -281,14 +281,6 @@ namespace MobileGL {
return m_renderState.GetCullFaceMode();
}
void GLContext::SetCullFaceEnabled(Bool enabled) {
m_renderState.SetCullFaceEnabled(enabled);
}
Bool GLContext::IsCullFaceEnabled() const {
return m_renderState.IsCullFaceEnabled();
}
// Framebuffer
Vector<Uint> GLContext::GenFramebufferNames(Uint number) {
return m_framebufferState.GenerateNames(number);