aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Texture.cpp
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-18 17:50:17 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-18 17:50:17 +0100
commit9288e4964526f1ce6b7d0aca0f075a04f56ede32 (patch)
tree7277b99336d528b1ee7aebb278c84e0353ddcf01 /src/crepe/api/Texture.cpp
parent121b64b1cb6cfead5814070c8b0185d3d7308095 (diff)
first version world postions with camera
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);
}