From 596caef7eed420cb730f0fd440311c7fe2e0e75b Mon Sep 17 00:00:00 2001 From: Roz K Date: Thu, 5 Jan 2023 03:39:32 +0100 Subject: [PATCH] Move cmp_memcpy into directory utils. --- cpp/render/render_opengles.cpp | 3 +-- cpp/render/render_opengles.hpp | 3 +-- cpp/{ => utils}/cmp_memcpy.hpp | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) rename cpp/{ => utils}/cmp_memcpy.hpp (99%) diff --git a/cpp/render/render_opengles.cpp b/cpp/render/render_opengles.cpp index a31fc23..0b2680b 100644 --- a/cpp/render/render_opengles.cpp +++ b/cpp/render/render_opengles.cpp @@ -13,10 +13,9 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . -#include "../render.hpp" #include "render_opengles.hpp" #include "../display/display_glx.hpp" -#include "../cmp_memcpy.hpp" +#include "../utils/cmp_memcpy.hpp" #include #include #include diff --git a/cpp/render/render_opengles.hpp b/cpp/render/render_opengles.hpp index 1f725b0..6ee78b9 100644 --- a/cpp/render/render_opengles.hpp +++ b/cpp/render/render_opengles.hpp @@ -16,8 +16,7 @@ #ifndef _RK_ENGINE_RENDER_OPENGLES_H #define _RK_ENGINE_RENDER_OPENGLES_H -#include "../types.hpp" -#include "../math.hpp" +#include "../render.hpp" #include #include #include diff --git a/cpp/cmp_memcpy.hpp b/cpp/utils/cmp_memcpy.hpp similarity index 99% rename from cpp/cmp_memcpy.hpp rename to cpp/utils/cmp_memcpy.hpp index 6ec6aa4..a1fc329 100644 --- a/cpp/cmp_memcpy.hpp +++ b/cpp/utils/cmp_memcpy.hpp @@ -16,7 +16,7 @@ #ifndef RK_ENGINE_CMP_MEMCPY_H #define RK_ENGINE_CMP_MEMCPY_H -#include "types.hpp" +#include "../types.hpp" template bool _rk_cmp_memcpy_small(