- Fixed stretching for 256 and 240 pixels tall skies in software.
This commit is contained in:
parent
857d0175b5
commit
bd90a768f5
2 changed files with 2 additions and 2 deletions
|
|
@ -83,7 +83,7 @@ namespace swrenderer
|
|||
FSoftwareTexture *sskytex2 = skytex2->GetSoftwareTexture();
|
||||
skytexturemid = 0;
|
||||
int skyheight = skytex1->GetDisplayHeight();
|
||||
skyoffset = cl_oldfreelooklimit? 0 : skyheight >= 200? 110 : 138;
|
||||
skyoffset = cl_oldfreelooklimit? 0 : skyheight == 256? 166 : skyheight >= 240? 150 : skyheight >= 200? 110 : 138;
|
||||
if (skyheight >= 128 && skyheight < 200)
|
||||
{
|
||||
skytexturemid = -28;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue