mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 05:38:50 +00:00
OGL: Depth range inversion.
This commit is contained in:
parent
88cc91030e
commit
e31982474c
3 changed files with 7 additions and 3 deletions
|
@ -1245,7 +1245,7 @@ void Renderer::SetViewport()
|
|||
};
|
||||
glViewport(iceilf(X), iceilf(Y), iceilf(Width), iceilf(Height));
|
||||
}
|
||||
glDepthRangef(GLNear, GLFar);
|
||||
glDepthRangef(GLFar, GLNear);
|
||||
}
|
||||
|
||||
void Renderer::ClearScreen(const EFBRectangle& rc, bool colorEnable, bool alphaEnable, bool zEnable, u32 color, u32 z)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue