summaryrefslogtreecommitdiff
path: root/src/core.hpp
diff options
context:
space:
mode:
authorFrederico Linhares <fred@linhares.blue>2023-10-02 14:36:20 -0300
committerFrederico Linhares <fred@linhares.blue>2023-10-02 14:36:20 -0300
commit8fa221cb60c19638d4ad0833965fee605593eea3 (patch)
tree95a2494f5581b72f949c92281ff0b793b9e29084 /src/core.hpp
parente5b15b871f0cf73563431565a492d9ae3e92e35b (diff)
refa Remove redundant framebuffers
* src/vk/framebuffer.hpp: Move to this class all the framebuffers.
Diffstat (limited to 'src/core.hpp')
-rw-r--r--src/core.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core.hpp b/src/core.hpp
index 917920b..9566a52 100644
--- a/src/core.hpp
+++ b/src/core.hpp
@@ -50,6 +50,7 @@
#include "vk/device.hpp"
#include "vk/descriptor_set_layout.hpp"
#include "vk/render_pass.hpp"
+#include "vk/framebuffer.hpp"
#include "vk/graphics_pipeline_2d_solid_layout.hpp"
#include "vk/graphics_pipeline_2d_wired_layout.hpp"
#include "vk/light.hpp"
@@ -120,6 +121,7 @@ struct cg_sCore
VK::Device *vk_device_with_swapchain;
VK::Swapchain *vk_swapchain;
+ VK::Framebuffer *vk_framebuffer;
VK::RenderPass *vk_render_pass;
VK::DescriptorSetLayout *vk_descriptor_set_layout;
VK::GraphicsPipeline3DLayout *vk_graphics_pipeline_3d_layout;