From 12cd944d805abe483b3edbae724de24f3a2e8e42 Mon Sep 17 00:00:00 2001 From: heinezen Date: Fri, 24 May 2024 03:27:07 +0200 Subject: [PATCH] path: Fix includes after rebase. --- libopenage/pathfinding/demo/demo_0.cpp | 4 +++- libopenage/pathfinding/demo/demo_1.cpp | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libopenage/pathfinding/demo/demo_0.cpp b/libopenage/pathfinding/demo/demo_0.cpp index 9918d22bdc..da7ae17492 100644 --- a/libopenage/pathfinding/demo/demo_0.cpp +++ b/libopenage/pathfinding/demo/demo_0.cpp @@ -12,6 +12,8 @@ #include "renderer/camera/camera.h" #include "renderer/gui/integration/public/gui_application_with_logger.h" #include "renderer/opengl/window.h" +#include "renderer/render_pass.h" +#include "renderer/renderable.h" #include "renderer/renderer.h" #include "renderer/resources/mesh_data.h" #include "renderer/resources/shader_source.h" @@ -298,7 +300,7 @@ void RenderManager0::show_vectors(const std::shared_ptr &field) true, true, }; - this->vector_pass->add_renderables(arrow_renderable); + this->vector_pass->add_renderables(std::move(arrow_renderable)); } } } diff --git a/libopenage/pathfinding/demo/demo_1.cpp b/libopenage/pathfinding/demo/demo_1.cpp index 5a90f97218..21aaa2c9d8 100644 --- a/libopenage/pathfinding/demo/demo_1.cpp +++ b/libopenage/pathfinding/demo/demo_1.cpp @@ -14,6 +14,8 @@ #include "renderer/gui/integration/public/gui_application_with_logger.h" #include "renderer/opengl/window.h" +#include "renderer/render_pass.h" +#include "renderer/renderable.h" #include "renderer/resources/shader_source.h" #include "renderer/resources/texture_info.h" #include "renderer/shader_program.h"