diff --git a/examples/computecloth/computecloth.cpp b/examples/computecloth/computecloth.cpp index c8f99501..a084442e 100644 --- a/examples/computecloth/computecloth.cpp +++ b/examples/computecloth/computecloth.cpp @@ -68,8 +68,8 @@ public: vks::Buffer output; } storageBuffers; struct Semaphores { - VkSemaphore ready{ nullptr }; - VkSemaphore complete{ nullptr }; + VkSemaphore ready{ 0L }; + VkSemaphore complete{ 0L }; } semaphores; vks::Buffer uniformBuffer; VkQueue queue; @@ -827,4 +827,4 @@ public: } }; -VULKAN_EXAMPLE_MAIN() \ No newline at end of file +VULKAN_EXAMPLE_MAIN()