From a47b981c2254e1d49f58ebd4244c1be4624ba998 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Tue, 5 Nov 2024 15:49:59 +0100 Subject: remove util and api namespaces --- src/crepe/SDLContext.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/crepe/SDLContext.h') diff --git a/src/crepe/SDLContext.h b/src/crepe/SDLContext.h index ea05c7b..94fc549 100644 --- a/src/crepe/SDLContext.h +++ b/src/crepe/SDLContext.h @@ -8,12 +8,9 @@ #include "system/RenderSystem.h" -namespace crepe::api { -class Texture; -} - namespace crepe { +class Texture; class SDLContext { public: @@ -34,13 +31,13 @@ private: virtual ~SDLContext(); private: - friend class api::Texture; + friend class Texture; SDL_Texture * texture_from_path(const char *); //SDL_Texture* setTextureFromPath(const char*, SDL_Rect& clip, const int row, const int col); private: friend class RenderSystem; - void draw(const api::Sprite &, const api::Transform &); + void draw(const Sprite &, const Transform &); void clear_screen(); void present_screen(); -- cgit v1.2.3