mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-04-22 23:50:58 +00:00
- Fixed stretching for 256 and 240 pixels tall skies in software.
This commit is contained in:
parent
9403fa2f48
commit
2e336b756a
1 changed files with 2 additions and 2 deletions
|
@ -121,10 +121,10 @@ void R_InitSkyMap ()
|
|||
// of the texture is at the top of the screen when looking fully up.
|
||||
skyheight = skytex1->GetScaledHeight();
|
||||
skystretch = (r_skymode == 1
|
||||
&& skyheight >= 128 && skyheight < 310
|
||||
&& skyheight >= 128 && skyheight <= 256
|
||||
&& level.IsFreelookAllowed()
|
||||
&& !(level.flags & LEVEL_FORCETILEDSKY)) ? 1 : 0;
|
||||
sskyoffset = cl_oldfreelooklimit? 0 : skyheight >= 200? 110 : 138;
|
||||
sskyoffset = cl_oldfreelooklimit? 0 : skyheight == 256? 166 : skyheight >= 240? 150 : skyheight >= 200? 110 : 138;
|
||||
skytexturemid = 0;
|
||||
if (skyheight >= 128 && skyheight < 200)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue