summaryrefslogtreecommitdiff
path: root/src/core.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.hpp')
-rw-r--r--src/core.hpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/core.hpp b/src/core.hpp
index c7dbceb..c4e9a6c 100644
--- a/src/core.hpp
+++ b/src/core.hpp
@@ -75,14 +75,6 @@ struct cg_sCore
/**
* @{
- * This is the amount of pixel the games use to render a buffer. The image in
- * this buffer is then rendered to the screen.
- */
- uint32_t game_width, game_height;
- /// @}
-
- /**
- * @{
* This is the ammount of pixel that the games uses when rendering to the
* screen.
*/
@@ -110,8 +102,8 @@ struct cg_sCore
VK::GraphicsPipeline3DLayout *vk_graphics_pipeline_3d_layout;
VK::GraphicsPipeline2DLayout *vk_graphics_pipeline_2d_layout;
- VK::GraphicsPipeline3D *vk_graphics_pipeline_3d;
- VK::GraphicsPipeline2D *vk_graphics_pipeline_2d;
+ std::unique_ptr<VK::GraphicsPipeline3D> vk_graphics_pipeline_3d;
+ std::unique_ptr<VK::GraphicsPipeline2D> vk_graphics_pipeline_2d;
VK::Renderer *vk_renderer;