aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Texture.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-20 20:25:24 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-20 20:25:24 +0100
commitf7a1ca3b7d934043b48602601e789bad27940405 (patch)
tree4622fd0f4f85b5856306d15b129ac1c3e64b567a /src/crepe/api/Texture.cpp
parente2c27d8c99a71e5d94ffe49027ec13afeb74b021 (diff)
parentb6aea9de9c9c8d86856bcd6c3b521e385bc00a69 (diff)
merge `master` into `loek/util`
Diffstat (limited to 'src/crepe/api/Texture.cpp')
-rw-r--r--src/crepe/api/Texture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/api/Texture.cpp b/src/crepe/api/Texture.cpp
index 6a1e4d8..9be9421 100644
--- a/src/crepe/api/Texture.cpp
+++ b/src/crepe/api/Texture.cpp
@@ -35,5 +35,5 @@ int Texture::get_width() const {
}
int Texture::get_height() const {
if (this->texture == nullptr) return 0;
- return SDLContext::get_instance().get_width(*this);
+ return SDLContext::get_instance().get_height(*this);
}