aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Texture.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-23 22:23:36 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-23 22:23:36 +0200
commit6e2c5e1b57210b10f8781f103e5c46308544339f (patch)
tree9738592f2082de1881a0ea019bf3c99644134aef /src/crepe/api/Texture.h
parent9b7be419c9dcc6ebd1e504713c7b2676ca3d2fdf (diff)
more nitpicking
Diffstat (limited to 'src/crepe/api/Texture.h')
-rw-r--r--src/crepe/api/Texture.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/crepe/api/Texture.h b/src/crepe/api/Texture.h
index 6d3fb40..993f72b 100644
--- a/src/crepe/api/Texture.h
+++ b/src/crepe/api/Texture.h
@@ -1,9 +1,10 @@
#pragma once
-#include "Asset.h"
#include <SDL2/SDL_render.h>
#include <memory>
+#include "Asset.h"
+
namespace crepe {
class SdlContext;
}
@@ -21,7 +22,7 @@ private:
void load(std::unique_ptr<Asset> res);
private:
- SDL_Texture * m_texture = nullptr;
+ SDL_Texture * texture = nullptr;
friend class crepe::SdlContext;
};