aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-11 20:49:49 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-11 20:49:49 +0100
commit3d97f7c60536bf14f314cc703883f74345aacd21 (patch)
tree200fcd5cde2b30e0de262e9a3dcc223874d2bd28 /src/crepe/api
parent141c4831be82654a692d03fdb0fbf87fa27dea88 (diff)
rendering particle
Diffstat (limited to 'src/crepe/api')
-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 5ebd23d..8ce65c2 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);
}