game(client): fix back button in touch
This commit is contained in:
parent
cb0576260e
commit
cbc9e703e6
1 changed files with 4 additions and 0 deletions
|
@ -410,6 +410,10 @@ void CTouchControls::Init()
|
||||||
ResetToDefaults();
|
ResetToDefaults();
|
||||||
|
|
||||||
CTouchTexture *texture = new CTouchTexture;
|
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) );
|
Q_strncpy( texture->szName, "vgui/touch/back", sizeof(texture->szName) );
|
||||||
textureList.AddToTail(texture);
|
textureList.AddToTail(texture);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue