]> O.S.I.I.S - jp/vkhelpers.git/commitdiff
use uint32_t for win
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Wed, 20 May 2020 17:00:18 +0000 (19:00 +0200)
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Wed, 20 May 2020 17:00:18 +0000 (19:00 +0200)
src/vkh_phyinfo.c

index 5d1d5c6e28c7b482702849e470332c3227792bf7..dedbbb7d36e81fed539f023ec06157f518f783b4 100644 (file)
@@ -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)