summaryrefslogtreecommitdiff
path: root/src/renderer.cpp
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2021-12-28 12:39:47 +0100
committerEkaitz Zarraga <ekaitz@elenq.tech>2021-12-28 12:40:09 +0100
commit1d6a7bb467d28898da5eb1270a6e8dabf958fa42 (patch)
treef4ff1dfebf6fe6e747181b5fcdebede2b9bd9302 /src/renderer.cpp
parenta7f23865ff7ffb57d35505bc0cf67507f1751ff2 (diff)
Huge rewrite, this is not how I'm supposed to use git but whatever
Diffstat (limited to 'src/renderer.cpp')
-rw-r--r--src/renderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer.cpp b/src/renderer.cpp
index 2f90a8d..352b89b 100644
--- a/src/renderer.cpp
+++ b/src/renderer.cpp
@@ -29,7 +29,7 @@ SDL_Renderer * Renderer::renderer(){
return renderer_;
}
-void Renderer::setScale(int scaleX, int scaleY){
+void Renderer::setScale(float scaleX, float scaleY){
if( SDL_RenderSetScale(renderer_, scaleX, scaleY) < 0){
printf("Unable to set scale in renderer: %s", SDL_GetError());
}