mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 20:21:26 +00:00
Applied vertical offset to transferred sky in OpenGL renderer
https://forum.zdoom.org/viewtopic.php?t=58934
This commit is contained in:
parent
8f70d70dd6
commit
2c4eae7487
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue