game(client): fix back button in touch

This commit is contained in:
nillerusr 2022-09-19 17:54:09 +03:00
parent cb0576260e
commit cbc9e703e6

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