mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-09 04:38:30 +09:00
[Feat] (MG_Impl/RenderState): Implement some RenderState GL functions.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user