We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f600f1f commit 81f78daCopy full SHA for 81f78da
1 file changed
base/vulkanexamplebase.h
@@ -75,6 +75,8 @@
75
#include "camera.hpp"
76
#include "benchmark.hpp"
77
78
+constexpr uint32_t maxConcurrentFrames{ 2 };
79
+
80
class VulkanExampleBase
81
{
82
private:
@@ -161,7 +163,6 @@ class VulkanExampleBase
161
163
162
164
// This sample will be using a new synchronisation setup, which is closer to what should be used with Vulkan
165
bool useNewSync{ false };
- const uint32_t maxConcurrentFrames{ 2 };
166
uint32_t currentImageIndex{ 0 };
167
std::vector<VkSemaphore> presentCompleteSemaphores{};
168
std::vector<VkSemaphore> renderCompleteSemaphores{};
0 commit comments