mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-14 17:18:05 +00:00
ref_gl: fix alpha in menu (and anywhere else where triColor4ub is used)
This commit is contained in:
parent
0b13bf393f
commit
8b5926f9b1
@ -513,7 +513,7 @@ ref_interface_t gReffuncs =
|
|||||||
TriBegin,
|
TriBegin,
|
||||||
TriEnd,
|
TriEnd,
|
||||||
_TriColor4f,
|
_TriColor4f,
|
||||||
TriColor4ub,
|
_TriColor4ub,
|
||||||
TriTexCoord2f,
|
TriTexCoord2f,
|
||||||
TriVertex3fv,
|
TriVertex3fv,
|
||||||
TriVertex3f,
|
TriVertex3f,
|
||||||
|
@ -577,6 +577,7 @@ void TriTexCoord2f( float u, float v );
|
|||||||
void TriVertex3fv( const float *v );
|
void TriVertex3fv( const float *v );
|
||||||
void TriVertex3f( float x, float y, float z );
|
void TriVertex3f( float x, float y, float z );
|
||||||
void _TriColor4f( float r, float g, float b, float a );
|
void _TriColor4f( float r, float g, float b, float a );
|
||||||
|
void _TriColor4ub( byte r, byte g, byte b, byte a );
|
||||||
void TriColor4f( float r, float g, float b, float a );
|
void TriColor4f( float r, float g, float b, float a );
|
||||||
void TriColor4ub( byte r, byte g, byte b, byte a );
|
void TriColor4ub( byte r, byte g, byte b, byte a );
|
||||||
void TriBrightness( float brightness );
|
void TriBrightness( float brightness );
|
||||||
|
@ -131,6 +131,18 @@ void _TriColor4f( float r, float g, float b, float a )
|
|||||||
pglColor4f( r, g, b, a );
|
pglColor4f( r, g, b, a );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
=============
|
||||||
|
_TriColor4f
|
||||||
|
|
||||||
|
=============
|
||||||
|
*/
|
||||||
|
void _TriColor4ub( byte r, byte g, byte b, byte a )
|
||||||
|
{
|
||||||
|
pglColor4ub( r, g, b, a );
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
=============
|
=============
|
||||||
TriColor4ub
|
TriColor4ub
|
||||||
|
Loading…
Reference in New Issue
Block a user