aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Texture.h
diff options
context:
space:
mode:
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