mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- fixed translucency determination.
This commit is contained in:
parent
6b431cec2c
commit
2c35f87925
1 changed files with 1 additions and 1 deletions
|
@ -594,7 +594,7 @@ FRenderStyle GetBlend(int blend, int def)
|
||||||
rs.BlendOp = STYLEOP_Add;
|
rs.BlendOp = STYLEOP_Add;
|
||||||
glblenddef_t const* const glbdef = glblend[blend].def + def;
|
glblenddef_t const* const glbdef = glblend[blend].def + def;
|
||||||
rs.SrcAlpha = blendFuncTokens[glbdef->src];
|
rs.SrcAlpha = blendFuncTokens[glbdef->src];
|
||||||
rs.SrcAlpha = blendFuncTokens[glbdef->dst];
|
rs.DestAlpha = blendFuncTokens[glbdef->dst];
|
||||||
rs.Flags = 0;
|
rs.Flags = 0;
|
||||||
return rs;
|
return rs;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue