Removed deprecated call to app_dummy
This commit is contained in:
parent
3cde83945e
commit
1227f1e7f4
1 changed files with 0 additions and 2 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue