mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-12 07:34:50 +00:00
- fixed: For cubemapped skies with one texture for all 4 sides the texture was never set before rendering.
This commit is contained in:
parent
4f00aa3957
commit
0bc2c0094a
1 changed files with 3 additions and 0 deletions
|
@ -398,6 +398,9 @@ static void RenderBox(FTextureID texno, FMaterial * gltex, float x_offset, bool
|
|||
else
|
||||
{
|
||||
faces=1;
|
||||
tex = FMaterial::ValidateTexture(sb->faces[0], false);
|
||||
gl_RenderState.SetMaterial(tex, CLAMP_XY, 0, -1, false);
|
||||
gl_RenderState.Apply();
|
||||
|
||||
ptr = GLRenderer->mVBO->GetBuffer();
|
||||
ptr->Set(128.f, 128.f, -128.f, 0, 0);
|
||||
|
|
Loading…
Reference in a new issue