- fixed: The 2D drawing code incorrectly set the shader override to disable all special effects.

This commit is contained in:
Christoph Oelckers 2016-05-04 14:10:06 +02:00
parent 9f91fa8f43
commit 5f095082c0

View file

@ -350,7 +350,7 @@ void FGLRenderer::DrawTexture(FTexture *img, DrawParms &parms)
if (pal) translation = -pal->GetIndex(); if (pal) translation = -pal->GetIndex();
} }
} }
gl_RenderState.SetMaterial(gltex, CLAMP_XY_NOMIP, translation, 0, !!(parms.style.Flags & STYLEF_RedIsAlpha)); gl_RenderState.SetMaterial(gltex, CLAMP_XY_NOMIP, translation, -1, !!(parms.style.Flags & STYLEF_RedIsAlpha));
u1 = gltex->GetUL(); u1 = gltex->GetUL();
v1 = gltex->GetVT(); v1 = gltex->GetVT();