projects
/
platform
/
upstream
/
Vulkan-LoaderAndValidationLayers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6455efb
)
demos: Clean up Windows build warning
author
Mark Lobodzinski
<mark@lunarg.com>
Mon, 3 Oct 2016 22:00:40 +0000
(16:00 -0600)
committer
Mark Lobodzinski
<mark@lunarg.com>
Tue, 4 Oct 2016 19:30:59 +0000
(13:30 -0600)
Change-Id: I39daaa144e82eeabbe532cb32d334d4e60e6a7e2
demos/cube.c
patch
|
blob
|
history
diff --git
a/demos/cube.c
b/demos/cube.c
index
543a81e
..
acf34ef
100644
(file)
--- a/
demos/cube.c
+++ b/
demos/cube.c
@@
-3075,7
+3075,7
@@
static void demo_init_vk_swapchain(struct demo *demo) {
if (presentQueueFamilyIndex == UINT32_MAX) {
// If didn't find a queue that supports both graphics and present, then
// find a separate present queue.
- for (
size_t
i = 0; i < demo->queue_family_count; ++i) {
+ for (i = 0; i < demo->queue_family_count; ++i) {
if (supportsPresent[i] == VK_TRUE) {
presentQueueFamilyIndex = i;
break;