OGL: Depth range inversion.

This commit is contained in:
Jules Blok
2015-05-22 22:42:25 +02:00
parent 88cc91030e
commit e31982474c
3 changed files with 7 additions and 3 deletions

View File

@ -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)