diff options
author | David Robillard <d@drobilla.net> | 2022-10-07 15:19:39 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-10-07 15:22:43 -0400 |
commit | 17d90bda87dd445a974de7e644629593ade617d8 (patch) | |
tree | 319a23c713a4d089863d9c169d63a1d2d413521c /examples/sybok.hpp | |
parent | ed4c8a50505ab02a8f3a01e41f5f86acca04b81d (diff) | |
download | pugl-17d90bda87dd445a974de7e644629593ade617d8.tar.gz pugl-17d90bda87dd445a974de7e644629593ade617d8.tar.bz2 pugl-17d90bda87dd445a974de7e644629593ade617d8.zip |
Use uppercase integer literal suffixes
Diffstat (limited to 'examples/sybok.hpp')
-rw-r--r-- | examples/sybok.hpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/sybok.hpp b/examples/sybok.hpp index aad1b41..4fe4886 100644 --- a/examples/sybok.hpp +++ b/examples/sybok.hpp @@ -655,7 +655,7 @@ template<class Value, class Vector, class Func, class... Args> inline VkResult wrapVectorAccessor(Vector& vector, Func func, Args... args) noexcept { - uint32_t count = 0u; + uint32_t count = 0U; VkResult r = func(args..., &count, nullptr); if (r > VK_INCOMPLETE) { vector.clear(); @@ -1310,7 +1310,7 @@ public: VkResult enumeratePhysicalDevices(const Instance& instance, Vector& physicalDevices) const noexcept { - uint32_t count = 0u; + uint32_t count = 0U; VkResult r = vkEnumeratePhysicalDevices(instance, &count, nullptr); if (r > VK_INCOMPLETE) { return r; @@ -1355,7 +1355,7 @@ public: const PhysicalDevice& physicalDevice, Vector& queueFamilyProperties) const noexcept { - uint32_t count = 0u; + uint32_t count = 0U; vkGetPhysicalDeviceQueueFamilyProperties(physicalDevice, &count, nullptr); queueFamilyProperties = Vector(count); @@ -1420,7 +1420,7 @@ public: const VkSubmitInfo& submit, const Fence& fence) const noexcept { - return vkQueueSubmit(queue, 1u, &submit, fence); + return vkQueueSubmit(queue, 1U, &submit, fence); } template<size_t descriptorWriteCount, size_t descriptorCopyCount> @@ -1440,7 +1440,7 @@ public: VkResult resetFence(const Device& device, const Fence& fence) const noexcept { VkFence h = fence; - return vkResetFences(device, 1u, &h); + return vkResetFences(device, 1U, &h); } VkResult waitForFence(const Device& device, @@ -1448,13 +1448,13 @@ public: uint64_t timeout) const noexcept { VkFence h = fence; - return vkWaitForFences(device, 1u, &h, VK_TRUE, timeout); + return vkWaitForFences(device, 1U, &h, VK_TRUE, timeout); } VkResult waitForFence(const Device& device, const Fence& fence) const noexcept { VkFence h = fence; - return vkWaitForFences(device, 1u, &h, VK_TRUE, UINT64_MAX); + return vkWaitForFences(device, 1U, &h, VK_TRUE, UINT64_MAX); } // Scoped command buffer interface |