diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-20 20:10:07 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-20 20:10:07 +0100 |
commit | 6b7eb1f7f87185c5bcfbf4a9bcf1c71d3fde1fc8 (patch) | |
tree | 62ac263a66abc97e3e3ed83b2c6d8cc237b0bd99 /src/crepe/api | |
parent | 807a8db7251a484d698572b3777aaf486b2f388e (diff) | |
parent | 30492d9eee7ee47a42e2471dd0716044f59df705 (diff) |
merge #31
Diffstat (limited to 'src/crepe/api')
-rw-r--r-- | src/crepe/api/Texture.cpp | 2 |
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); } |