[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
@@ -50,6 +50,8 @@ namespace MobileGL {
return m_blendEnabled;
case CapabilityInput::DepthTest:
return m_depthTestEnabled;
case CapabilityInput::CullFace:
return m_cullFaceEnabled;
default:
return false;
}
@@ -132,14 +134,6 @@ namespace MobileGL {
CullFaceMode RenderState::GetCullFaceMode() const {
return m_cullFaceMode;
}
void RenderState::SetCullFaceEnabled(Bool enabled) {
m_cullFaceEnabled = enabled;
}
Bool RenderState::IsCullFaceEnabled() const {
return m_cullFaceEnabled;
}
} // namespace GLState
} // namespace MG_State
} // namespace MobileGL