From 1d6a7bb467d28898da5eb1270a6e8dabf958fa42 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Tue, 28 Dec 2021 12:39:47 +0100 Subject: Huge rewrite, this is not how I'm supposed to use git but whatever --- src/renderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/renderer.cpp') 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()); } -- cgit v1.2.3