Removed deprecated call to app_dummy

This commit is contained in:
saschawillems 2018-04-30 22:21:24 +02:00
parent 3cde83945e
commit 1227f1e7f4

View file

@ -1123,11 +1123,9 @@ int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR pCmdLin
#elif defined(__ANDROID__) #elif defined(__ANDROID__)
// Android entry point // Android entry point
// A note on app_dummy(): This is required as the compiler may otherwise remove the main entry point of the application
VulkanExample *vulkanExample; VulkanExample *vulkanExample;
void android_main(android_app* state) void android_main(android_app* state)
{ {
app_dummy();
vulkanExample = new VulkanExample(); vulkanExample = new VulkanExample();
state->userData = vulkanExample; state->userData = vulkanExample;
state->onAppCmd = VulkanExample::handleAppCommand; state->onAppCmd = VulkanExample::handleAppCommand;