engine: client: vgui: enable texturing in VGUI by default, just in case reset color too
This commit is contained in:
parent
2e30acf611
commit
90da9659d1
1 changed files with 2 additions and 0 deletions
|
@ -50,7 +50,9 @@ static CVAR_DEFINE_AUTO( vgui_utf8, "0", FCVAR_ARCHIVE, "enable utf-8 support fo
|
||||||
static void GAME_EXPORT VGUI_DrawInit( void )
|
static void GAME_EXPORT VGUI_DrawInit( void )
|
||||||
{
|
{
|
||||||
memset( vgui.textures, 0, sizeof( vgui.textures ));
|
memset( vgui.textures, 0, sizeof( vgui.textures ));
|
||||||
|
memset( vgui.color, 0, sizeof( vgui.color ));
|
||||||
vgui.texture_id = vgui.bound_texture = 0;
|
vgui.texture_id = vgui.bound_texture = 0;
|
||||||
|
vgui.enable_texture = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void GAME_EXPORT VGUI_DrawShutdown( void )
|
static void GAME_EXPORT VGUI_DrawShutdown( void )
|
||||||
|
|
Loading…
Add table
Reference in a new issue