aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Elliott <ian@LunarG.com>2015-07-08 17:09:54 -0600
committerIan Elliott <ian@LunarG.com>2015-07-08 17:09:54 -0600
commitdd6169d82d5bc0e1518687c8d0b1374911cf1f1c (patch)
tree4b68b0096ae7de35de1b15b79c0aae12101b79d7
parent927eeb45cddd60fb53bd65fb09d74ae2602a89b9 (diff)
downloadusermoji-dd6169d82d5bc0e1518687c8d0b1374911cf1f1c.tar.xz
vulkaninfo: Fix so that it compiles on Windows.
-rw-r--r--demos/vulkaninfo.c4
1 files changed, 3 insertions, 1 deletions
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;