diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-23 22:26:05 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-23 22:26:05 +0200 |
commit | 95171100beba7bc36ae4421652f6c4fbb34774a8 (patch) | |
tree | b00be299c17415ed1101ccb6c2a34f5cdb76655a /src/crepe/api | |
parent | 6e2c5e1b57210b10f8781f103e5c46308544339f (diff) |
rename SdlContext -> SDLContext
Diffstat (limited to 'src/crepe/api')
-rw-r--r-- | src/crepe/api/Texture.cpp | 4 | ||||
-rw-r--r-- | src/crepe/api/Texture.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/crepe/api/Texture.cpp b/src/crepe/api/Texture.cpp index 7791b5b..481ef7c 100644 --- a/src/crepe/api/Texture.cpp +++ b/src/crepe/api/Texture.cpp @@ -3,7 +3,7 @@ #include "util/log.h" #include "Asset.h" -#include "SdlContext.h" +#include "SDLContext.h" #include "Texture.h" using namespace crepe::api; @@ -27,6 +27,6 @@ Texture::~Texture() { } void Texture::load(unique_ptr<Asset> res) { - SdlContext & ctx = SdlContext::get_instance(); + SDLContext & ctx = SDLContext::get_instance(); this->texture = ctx.texture_from_path(res->canonical()); } diff --git a/src/crepe/api/Texture.h b/src/crepe/api/Texture.h index 993f72b..7a2c755 100644 --- a/src/crepe/api/Texture.h +++ b/src/crepe/api/Texture.h @@ -6,7 +6,7 @@ #include "Asset.h" namespace crepe { -class SdlContext; +class SDLContext; } namespace crepe::api { @@ -24,7 +24,7 @@ private: private: SDL_Texture * texture = nullptr; - friend class crepe::SdlContext; + friend class crepe::SDLContext; }; } // namespace crepe::api |