Read android config values [skip ci]

This commit is contained in:
saschawillems 2017-03-25 11:15:30 +01:00
parent 219da74df4
commit 9edc993bf9
4 changed files with 18 additions and 9 deletions

View file

@ -204,6 +204,7 @@ public:
} touchPos;
bool touchDown = false;
double touchTimer = 0.0;
int64_t lastTapTime = 0;
/** @brief Product model and manufacturer of the Android device (via android.Product*) */
std::string androidProduct;
#elif defined(VK_USE_PLATFORM_WAYLAND_KHR)
@ -423,6 +424,7 @@ void android_main(android_app* state) \
state->onAppCmd = VulkanExample::handleAppCommand; \
state->onInputEvent = VulkanExample::handleAppInput; \
androidApp = state; \
vks::android::getDeviceConfig(); \
vulkanExample->renderLoop(); \
delete(vulkanExample); \
}