engine: client: fix TriColor4fRendermode
This commit is contained in:
parent
90da9659d1
commit
4a5f34089d
1 changed files with 1 additions and 1 deletions
|
@ -3305,7 +3305,7 @@ Heavy legacy of Quake...
|
||||||
*/
|
*/
|
||||||
void TriColor4fRendermode( float r, float g, float b, float a, int rendermode )
|
void TriColor4fRendermode( float r, float g, float b, float a, int rendermode )
|
||||||
{
|
{
|
||||||
if( clgame.ds.renderMode == kRenderTransAlpha )
|
if( rendermode == kRenderTransAlpha )
|
||||||
{
|
{
|
||||||
clgame.ds.triRGBA[3] = a / 255.0f;
|
clgame.ds.triRGBA[3] = a / 255.0f;
|
||||||
ref.dllFuncs.Color4f( r, g, b, a );
|
ref.dllFuncs.Color4f( r, g, b, a );
|
||||||
|
|
Loading…
Add table
Reference in a new issue