mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2025-02-20 18:32:06 +00:00
Merge branch 'master' of https://github.com/coelckers/gzdoom
This commit is contained in:
commit
fc8eef0d8b
1 changed files with 1 additions and 0 deletions
|
@ -622,6 +622,7 @@ void FGLRenderer::DrawBlend(sector_t * viewsector)
|
||||||
V_AddBlend (player->BlendR, player->BlendG, player->BlendB, player->BlendA, blend);
|
V_AddBlend (player->BlendR, player->BlendG, player->BlendB, player->BlendA, blend);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gl_RenderState.SetTextureMode(TM_MODULATE);
|
||||||
gl_RenderState.BlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
gl_RenderState.BlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||||
if (blend[3]>0.0f)
|
if (blend[3]>0.0f)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue