Removed deprecated call to app_dummy
This commit is contained in:
parent
13a4f611e4
commit
2d48a76138
1 changed files with 0 additions and 2 deletions
|
|
@ -426,12 +426,10 @@ int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE, LPSTR, int) \
|
||||||
}
|
}
|
||||||
#elif defined(VK_USE_PLATFORM_ANDROID_KHR)
|
#elif defined(VK_USE_PLATFORM_ANDROID_KHR)
|
||||||
// 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
|
|
||||||
#define VULKAN_EXAMPLE_MAIN() \
|
#define VULKAN_EXAMPLE_MAIN() \
|
||||||
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; \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue