summaryrefslogtreecommitdiff
path: root/src/renderer.h
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.h
parenta7f23865ff7ffb57d35505bc0cf67507f1751ff2 (diff)
Huge rewrite, this is not how I'm supposed to use git but whatever
Diffstat (limited to 'src/renderer.h')
-rw-r--r--src/renderer.h6
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