Added os specific example main entry point macros

This commit is contained in:
saschawillems 2016-06-25 23:10:43 +02:00
parent 0ca94918db
commit e24a54b976

View file

@ -397,6 +397,7 @@ void android_main(android_app* state) \
#elif defined(__linux__)
// Linux entry point
// todo: extract command line arguments
#define VULKAN_EXAMPLE_MAIN(example, enabledfeatures) \
int main(const int argc, const char *argv[]) \
{ \
example = new VulkanExample(); \