summaryrefslogtreecommitdiff
path: root/engine/xe_swap_chain.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'engine/xe_swap_chain.hpp')
-rwxr-xr-xengine/xe_swap_chain.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/xe_swap_chain.hpp b/engine/xe_swap_chain.hpp
index c0299a3..50aa03f 100755
--- a/engine/xe_swap_chain.hpp
+++ b/engine/xe_swap_chain.hpp
@@ -13,7 +13,7 @@ namespace xe {
class XeSwapChain {
public:
- static constexpr int MAX_FRAMES_IN_FLIGHT = 3;
+ static constexpr int MAX_FRAMES_IN_FLIGHT = 2;
XeSwapChain(XeDevice &deviceRef, VkExtent2D windowExtent);
XeSwapChain(XeDevice &deviceRef, VkExtent2D windowExtent, std::shared_ptr<XeSwapChain> previous);