2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-12 05:49:15 +01:00

netgraph: fixed data usage graphs rendering

This commit is contained in:
SNMetamorph 2021-02-20 15:08:15 +04:00 committed by Alibek Omarov
parent cba9fb1a07
commit 8d50049db7

View File

@ -658,7 +658,7 @@ void SCR_DrawNetGraph( void )
if( net_graph->value < 3 ) if( net_graph->value < 3 )
{ {
ref.dllFuncs.GL_SetRenderMode( kRenderTransAdd ); ref.dllFuncs.GL_SetRenderMode( kRenderTransAdd );
ref.dllFuncs.GL_Bind( XASH_TEXTURE0, R_GetBuiltinTexture( REF_WHITE_TEXTURE ) );
ref.dllFuncs.Begin( TRI_QUADS ); // draw all the fills as a long solid sequence of quads for speedup reasons ref.dllFuncs.Begin( TRI_QUADS ); // draw all the fills as a long solid sequence of quads for speedup reasons
// NOTE: fill colors without texture at this point // NOTE: fill colors without texture at this point