From dd6169d82d5bc0e1518687c8d0b1374911cf1f1c Mon Sep 17 00:00:00 2001 From: Ian Elliott Date: Wed, 8 Jul 2015 17:09:54 -0600 Subject: vulkaninfo: Fix so that it compiles on Windows. --- demos/vulkaninfo.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/demos/vulkaninfo.c b/demos/vulkaninfo.c index ebd602b0..9637ddb6 100644 --- a/demos/vulkaninfo.c +++ b/demos/vulkaninfo.c @@ -40,6 +40,8 @@ #ifdef _WIN32 +#define snprintf _snprintf + bool consoleCreated = false; #define WAIT_FOR_CONSOLE_DESTROY \ @@ -424,7 +426,7 @@ static void app_dev_init(struct app_dev *dev, struct app_gpu *gpu) VkResult U_ASSERT_ONLY err; // Extensions to enable static const char *known_extensions[] = { -// "VK_WSI_LunarG", + "VK_WSI_LunarG", }; uint32_t count = 0; -- cgit v1.2.3