aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/SDLContext.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-05 15:49:59 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-05 15:49:59 +0100
commita47b981c2254e1d49f58ebd4244c1be4624ba998 (patch)
treed5ca1f37f0e2d93f241721b13abacc5123bfe92a /src/crepe/SDLContext.h
parent5f75bdbf3d38c94baeae52f4c4889f147ec6885e (diff)
remove util and api namespaces
Diffstat (limited to 'src/crepe/SDLContext.h')
-rw-r--r--src/crepe/SDLContext.h9
1 files changed, 3 insertions, 6 deletions
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();