From e24a54b976b7a95ea83ebfea66c3b14824a400f5 Mon Sep 17 00:00:00 2001 From: saschawillems Date: Sat, 25 Jun 2016 23:10:43 +0200 Subject: [PATCH] Added os specific example main entry point macros --- base/vulkanexamplebase.h | 1 + 1 file changed, 1 insertion(+) diff --git a/base/vulkanexamplebase.h b/base/vulkanexamplebase.h index 70225b11..733b7956 100644 --- a/base/vulkanexamplebase.h +++ b/base/vulkanexamplebase.h @@ -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(); \