aboutsummaryrefslogtreecommitdiff
path: root/src/engine
diff options
context:
space:
mode:
authorUnavailableDev <69792062+UnavailableDev@users.noreply.github.com>2023-03-12 11:38:48 +0100
committerGitHub <noreply@github.com>2023-03-12 11:38:48 +0100
commitc74b9b2ff60db2ddc7fe50686b6b654ceea3896e (patch)
tree957204e473a29ea80409d8a0db781315ef608ba0 /src/engine
parent557cbed3ab2dea1dafd61ccdc3521aeed9b63a43 (diff)
syntax update
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/draw_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/draw_screen.c b/src/engine/draw_screen.c
index 3e4d8c4..acf5b41 100644
--- a/src/engine/draw_screen.c
+++ b/src/engine/draw_screen.c
@@ -21,7 +21,7 @@ uint8_t hh_world_to_tile(vec2 pos){
// remeber old value to know which part to update.
vec2 previousViewport = { .x = 0, .y = 0 };
-void hh_draw_screen(vec2 viewport){
+void hh_draw_screen(vec_cor viewport){
if (viewport.x == previousViewport.x && viewport.y == previousViewport.y) return;
hh_ppu_update_aux((hh_s_ppu_loc_aux){