mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 21:21:04 +00:00
- fixed: r_visibility values >= 205 appear to cause fixed point overflows at least on 5:4 aspect ratio so they should be blocked.
This commit is contained in:
parent
fca469b053
commit
7e87216878
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ void R_InitTextureMapping ()
|
|||
void R_SetVisibility (float vis)
|
||||
{
|
||||
// Allow negative visibilities, just for novelty's sake
|
||||
//vis = clamp (vis, -204.7f, 204.7f);
|
||||
vis = clamp (vis, -204.7f, 204.7f); // (205 and larger do not work in 5:4 aspect ratio)
|
||||
|
||||
CurrentVisibility = vis;
|
||||
|
||||
|
|
Loading…
Reference in a new issue