No key press check on android
This commit is contained in:
parent
0a78d4d2a0
commit
e19ccdbc5f
1 changed files with 2 additions and 0 deletions
|
|
@ -1226,6 +1226,7 @@ public:
|
|||
updateTextOverlay();
|
||||
}
|
||||
|
||||
#if !defined(__ANDROID__)
|
||||
virtual void keyPressed(uint32_t keyCode)
|
||||
{
|
||||
switch (keyCode)
|
||||
|
|
@ -1235,6 +1236,7 @@ public:
|
|||
textOverlay->visible = !textOverlay->visible;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
};
|
||||
|
||||
VULKAN_EXAMPLE_MAIN()
|
||||
Loading…
Add table
Add a link
Reference in a new issue