[Fix] (MG_Backend/DirectVulkan): misc fixes

This commit is contained in:
2026-02-25 16:49:58 +08:00
parent e2e52965df
commit 9b23594415
6 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -316,7 +316,7 @@ namespace MobileGL {
m_renderState.SetClearStencil(stencil);
}
Int GLContext::GetClearStencil() const {
Uint32 GLContext::GetClearStencil() const {
return m_renderState.GetClearStencil();
}
+1 -1
View File
@@ -112,7 +112,7 @@ namespace MobileGL {
void SetClearDepth(Float depth);
Float GetClearDepth() const;
void SetClearStencil(Int stencil);
Int GetClearStencil() const;
Uint32 GetClearStencil() const;
void SetPixelStoreParam(PixelStoreParam param, Int value);
Int GetPixelStoreParam(PixelStoreParam param) const;
PixelStoreParameters GetPixelStoreParameters(Bool isUnpack) const;
@@ -229,7 +229,7 @@ namespace MobileGL {
++m_version;
}
Int RenderState::GetClearStencil() const {
Uint32 RenderState::GetClearStencil() const {
return m_parameters.ClearStencil;
}
@@ -154,7 +154,7 @@ namespace MobileGL {
// Clear State
FloatVec4 ClearColor = FloatVec4(0.0f, 0.0f, 0.0f, 1.0f);
Float ClearDepth = 1.0f;
Int ClearStencil = 0;
Uint32 ClearStencil = 0;
// Cull Face
Bool CullFaceEnabled = false;
@@ -209,7 +209,7 @@ namespace MobileGL {
void SetClearDepth(Float depth);
Float GetClearDepth() const;
void SetClearStencil(Int stencil);
Int GetClearStencil() const;
Uint32 GetClearStencil() const;
// Pixel Store
void SetPixelStoreParam(PixelStoreParam param, Int value);