From 2c4eae74876bcf1f5c79320db106636cea37fed0 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 31 Dec 2017 21:29:27 +0200 Subject: [PATCH] Applied vertical offset to transferred sky in OpenGL renderer https://forum.zdoom.org/viewtopic.php?t=58934 --- src/gl/scene/gl_sky.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gl/scene/gl_sky.cpp b/src/gl/scene/gl_sky.cpp index 3186dc987c..90642ddfdb 100644 --- a/src/gl/scene/gl_sky.cpp +++ b/src/gl/scene/gl_sky.cpp @@ -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