mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +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();
|
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();
|
||||||
|
|
Loading…
Reference in a new issue