aboutsummaryrefslogtreecommitdiffstatsci
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2020-05-20 19:00:18 +0200
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2020-05-20 19:00:18 +0200
commit947523ab880b6b3cc0fef08c48ddd4714c82c302 (patch)
tree1534c8de0cf5bfe074d8a482dd9e9b09b2a81c7e
parent333f82ef13820d39f40b02952369f9aa12efe1a5 (diff)
use uint32_t for win
-rw-r--r--src/vkh_phyinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vkh_phyinfo.c b/src/vkh_phyinfo.c
index 5d1d5c6..dedbbb7 100644
--- a/src/vkh_phyinfo.c
+++ b/src/vkh_phyinfo.c
@@ -65,7 +65,7 @@ VkhPhyInfo vkh_phyinfo_create (VkPhysicalDevice phy, VkSurfaceKHR surface) {
}
}
//try to find suitable queue if no dedicated one found
- for (uint j=0; j<pi->queueCount; j++){
+ for (uint32_t j=0; j<pi->queueCount; j++){
if (pi->queues[j].queueFlags & VK_QUEUE_GRAPHICS_BIT) {
VkBool32 present;
if (surface)