aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Texture.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-23 22:26:05 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-23 22:26:05 +0200
commit95171100beba7bc36ae4421652f6c4fbb34774a8 (patch)
treeb00be299c17415ed1101ccb6c2a34f5cdb76655a /src/crepe/api/Texture.cpp
parent6e2c5e1b57210b10f8781f103e5c46308544339f (diff)
rename SdlContext -> SDLContext
Diffstat (limited to 'src/crepe/api/Texture.cpp')
-rw-r--r--src/crepe/api/Texture.cpp4
1 files changed, 2 insertions, 2 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());
}