summaryrefslogtreecommitdiff
path: root/engine/xe_swap_chain.hpp
diff options
context:
space:
mode:
authortylermurphy534 <tylermurphy534@gmail.com>2022-09-20 23:04:33 -0400
committertylermurphy534 <tylermurphy534@gmail.com>2022-09-20 23:04:33 -0400
commitb6438c67792a268b2307b4d0ae7a5c278e7b6152 (patch)
tree02676efd34495cd3d3aafd92125f5007bb9dd0a5 /engine/xe_swap_chain.hpp
parenttexture loading (diff)
downloadminecraftvulkan-b6438c67792a268b2307b4d0ae7a5c278e7b6152.tar.gz
minecraftvulkan-b6438c67792a268b2307b4d0ae7a5c278e7b6152.tar.bz2
minecraftvulkan-b6438c67792a268b2307b4d0ae7a5c278e7b6152.zip
recreate descriptors
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);