summaryrefslogtreecommitdiff
path: root/src/vk/view_2d.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vk/view_2d.hpp')
-rw-r--r--src/vk/view_2d.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vk/view_2d.hpp b/src/vk/view_2d.hpp
index f6741cc..ec7225f 100644
--- a/src/vk/view_2d.hpp
+++ b/src/vk/view_2d.hpp
@@ -23,6 +23,7 @@
#include "core.hpp"
#include "sprite.hpp"
+#include "rectangle.hpp"
namespace VK
{
@@ -37,6 +38,7 @@ struct View2D
VkDescriptorPool descriptor_pool;
std::vector<VkDescriptorSet> descriptor_sets_2d;
+ std::vector<std::vector<std::shared_ptr<Rectangle>>> rectangles_to_draw;
std::vector<
std::unordered_map<std::shared_ptr<Sprite>, std::vector<glm::vec4>>>
sprites_to_draw;