diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-20 22:04:09 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-20 22:04:09 +0100 |
commit | dff52c72a9199ceea4eaf67c270916ae11238b45 (patch) | |
tree | c5d298bb0abcdece06060067789fb303e6c8897f /src/crepe/api/Texture.cpp | |
parent | bfb4dffccec0a902586927c41b2454c8ddacd9e3 (diff) | |
parent | 1cc120a0031cfc19c35240da8390d9129b4d75a3 (diff) |
Merge branch 'master' into loek/scripts
Diffstat (limited to 'src/crepe/api/Texture.cpp')
-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); } |