diff options
| author | Ian Elliott <ian@LunarG.com> | 2015-07-08 17:09:54 -0600 |
|---|---|---|
| committer | Ian Elliott <ian@LunarG.com> | 2015-07-08 17:09:54 -0600 |
| commit | dd6169d82d5bc0e1518687c8d0b1374911cf1f1c (patch) | |
| tree | 4b68b0096ae7de35de1b15b79c0aae12101b79d7 | |
| parent | 927eeb45cddd60fb53bd65fb09d74ae2602a89b9 (diff) | |
| download | usermoji-dd6169d82d5bc0e1518687c8d0b1374911cf1f1c.tar.xz | |
vulkaninfo: Fix so that it compiles on Windows.
| -rw-r--r-- | demos/vulkaninfo.c | 4 |
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; |
