Removed example_main defines
This commit is contained in:
parent
cbfdfc904b
commit
44f26b364b
1 changed files with 0 additions and 4 deletions
|
|
@ -1095,7 +1095,6 @@ public:
|
||||||
|
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
// Windows entry point
|
// Windows entry point
|
||||||
#define VULKAN_EXAMPLE_MAIN()
|
|
||||||
VulkanExample *vulkanExample;
|
VulkanExample *vulkanExample;
|
||||||
LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
|
|
@ -1121,7 +1120,6 @@ 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
|
// 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()
|
|
||||||
VulkanExample *vulkanExample;
|
VulkanExample *vulkanExample;
|
||||||
void android_main(android_app* state)
|
void android_main(android_app* state)
|
||||||
{
|
{
|
||||||
|
|
@ -1138,7 +1136,6 @@ void android_main(android_app* state)
|
||||||
|
|
||||||
// Linux entry point with direct to display wsi
|
// Linux entry point with direct to display wsi
|
||||||
// Direct to Displays (D2D) is used on embedded platforms
|
// Direct to Displays (D2D) is used on embedded platforms
|
||||||
#define VULKAN_EXAMPLE_MAIN()
|
|
||||||
VulkanExample *vulkanExample;
|
VulkanExample *vulkanExample;
|
||||||
static void handleEvent()
|
static void handleEvent()
|
||||||
{
|
{
|
||||||
|
|
@ -1157,7 +1154,6 @@ int main(const int argc, const char *argv[])
|
||||||
#elif defined(__linux__)
|
#elif defined(__linux__)
|
||||||
|
|
||||||
// Linux entry point
|
// Linux entry point
|
||||||
#define VULKAN_EXAMPLE_MAIN()
|
|
||||||
VulkanExample *vulkanExample;
|
VulkanExample *vulkanExample;
|
||||||
static void handleEvent(const xcb_generic_event_t *event)
|
static void handleEvent(const xcb_generic_event_t *event)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue