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.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/renderer.h') diff --git a/src/renderer.h b/src/renderer.h index b76b831..36f64bc 100644 --- a/src/renderer.h +++ b/src/renderer.h @@ -1,3 +1,5 @@ +#ifndef RENDERER_H +#define RENDERER_H #include class Renderer{ @@ -9,7 +11,9 @@ class Renderer{ void clear(); void update(); SDL_Renderer* renderer(); - void setScale(int scaleX, int scaleY); + void setScale(float scaleX, float scaleY); private: SDL_Renderer* renderer_; }; + +#endif -- cgit v1.2.3