diff options
Diffstat (limited to 'src/renderer.h')
-rw-r--r-- | src/renderer.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 <SDL2/SDL.h> 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 |