mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
- fixed: The 2D drawing code incorrectly set the shader override to disable all special effects.
This commit is contained in:
parent
9f91fa8f43
commit
5f095082c0
1 changed files with 1 additions and 1 deletions
|
@ -350,7 +350,7 @@ void FGLRenderer::DrawTexture(FTexture *img, DrawParms &parms)
|
|||
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();
|
||||
v1 = gltex->GetVT();
|
||||
|
|
Loading…
Reference in a new issue