aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Texture.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-23 21:54:28 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-23 21:54:28 +0200
commit9b7be419c9dcc6ebd1e504713c7b2676ca3d2fdf (patch)
tree97a2fc5ce1ec1345bd6f44889682ea9a2ffafd76 /src/crepe/api/Texture.h
parent080ad535e6fc6666b919b1a21b6986aaf9b678eb (diff)
`clang-format`
Diffstat (limited to 'src/crepe/api/Texture.h')
-rw-r--r--src/crepe/api/Texture.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/crepe/api/Texture.h b/src/crepe/api/Texture.h
index b376b44..6d3fb40 100644
--- a/src/crepe/api/Texture.h
+++ b/src/crepe/api/Texture.h
@@ -4,9 +4,8 @@
#include <SDL2/SDL_render.h>
#include <memory>
-
namespace crepe {
- class SdlContext;
+class SdlContext;
}
namespace crepe::api {
@@ -18,15 +17,13 @@ public:
Texture(std::unique_ptr<Asset> res);
~Texture();
-
private:
void load(std::unique_ptr<Asset> res);
-
private:
SDL_Texture * m_texture = nullptr;
friend class crepe::SdlContext;
};
-} // namespace crepe
+} // namespace crepe::api