gsdx-ogl: improve alpha test for GTA vice city (letters)

I don't understand why but it seems depth is rounded down even in 16 bits.
So uses 0xFFFE to enable ate_all_color_then_depth in 16 bits format too :)
This commit is contained in:
Gregory Hainaut 2016-08-15 11:38:07 +02:00
parent 5fbf702500
commit 5c7e2432bd
1 changed files with 2 additions and 1 deletions

View File

@ -234,8 +234,9 @@ void GSRendererOGL::EmulateZbuffer()
max_z = 0xFFFFFF;
max_z_flt = 0xFFFFFE;
} else {
// I don't understand why but it seems 0xFFFF becomes 65534.0 in m_vt.m_min.p.z
max_z = 0xFFFF;
max_z_flt = 0xFFFF;
max_z_flt = 0xFFFE;
}
// The real GS appears to do no masking based on the Z buffer format and writing larger Z values