game(client): fix back button in touch

This commit is contained in:
nillerusr 2022-09-19 17:54:09 +03:00
parent 4ace9f8030
commit 3f5ebfbde3

View File

@ -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);