mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 03:54:57 +00:00
Merge pull request #1366 from kayru/orthographic_projection_epsilon
Added projection matrix epsilon that fixes depth clipping issues in some games
This commit is contained in:
commit
bfc62d2ada
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ static float PHackValue(std::string sValue)
|
|||
|
||||
void UpdateProjectionHack(int iPhackvalue[], std::string sPhackvalue[])
|
||||
{
|
||||
float fhackvalue1 = 0, fhackvalue2 = 0;
|
||||
float fhackvalue1 = 0, fhackvalue2 = FLT_EPSILON; // hack to fix depth clipping precision issues (such as Sonic Unleashed UI)
|
||||
float fhacksign1 = 1.0, fhacksign2 = 1.0;
|
||||
const char *sTemp[2];
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue