mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
OGL: Depth range inversion.
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user