Applied vertical offset to transferred sky in OpenGL renderer

https://forum.zdoom.org/viewtopic.php?t=58934
This commit is contained in:
alexey.lysiuk 2017-12-31 21:29:27 +02:00
parent 8f70d70dd6
commit 2c4eae7487

View file

@ -69,7 +69,7 @@ void GLSkyInfo::init(int sky1, PalEntry FadeColor)
if (!texture[0] || texture[0]->tex->UseType == FTexture::TEX_Null) goto normalsky;
skytexno1 = texno;
x_offset[0] = s->GetTextureXOffset(pos) * (360.f/65536.f);
y_offset = s->GetTextureYOffset(pos);
y_offset = s->GetTextureYOffset(pos) - 28.0;
mirrored = !l->args[2];
}
else