[Feat] (MG_Impl/RenderState): Implement some RenderState GL functions.

This commit is contained in:
BZLZHH
2025-10-03 13:16:42 +08:00
parent f7df90447b
commit e77b01ac84
14 changed files with 519 additions and 80 deletions
@@ -75,11 +75,11 @@ namespace MobileGL {
}
// -------------------- Depth --------------------
void RenderState::SetDepthFunc(DepthFunc func) {
void RenderState::SetDepthFunc(DepthTestFunc func) {
m_depthFunc = func;
}
DepthFunc RenderState::GetDepthFunc() const {
DepthTestFunc RenderState::GetDepthFunc() const {
return m_depthFunc;
}