diff --git a/game/client/touch.cpp b/game/client/touch.cpp index 9018c304..cd6ed2c8 100644 --- a/game/client/touch.cpp +++ b/game/client/touch.cpp @@ -410,6 +410,10 @@ void CTouchControls::Init() ResetToDefaults(); CTouchTexture *texture = new CTouchTexture; + texture->isInAtlas = false; + texture->textureID = 0; + texture->X0 = 0; texture->X1 = 0; texture->Y0 = 0; texture->Y1 = 0; + Q_strncpy( texture->szName, "vgui/touch/back", sizeof(texture->szName) ); textureList.AddToTail(texture);