Call example destructor on Android (Fixes #97)

This commit is contained in:
saschawillems 2016-03-26 13:21:19 +01:00
parent 2ed3e946b1
commit 4e689f3fee
27 changed files with 27 additions and 27 deletions

View file

@ -681,8 +681,8 @@ int main(const int argc, const char *argv[])
vulkanExample->prepare();
#endif
vulkanExample->renderLoop();
#if !defined(__ANDROID__)
delete(vulkanExample);
#if !defined(__ANDROID__)
return 0;
#endif
}