aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Texture.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-20 20:10:07 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-20 20:10:07 +0100
commit6b7eb1f7f87185c5bcfbf4a9bcf1c71d3fde1fc8 (patch)
tree62ac263a66abc97e3e3ed83b2c6d8cc237b0bd99 /src/crepe/api/Texture.cpp
parent807a8db7251a484d698572b3777aaf486b2f388e (diff)
parent30492d9eee7ee47a42e2471dd0716044f59df705 (diff)
merge #31
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 de0d0ea..734a5bb 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);
}