summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2022-12-09 21:56:43 +0100
committerAldrik Ramaekers <aldrik@amftech.nl>2022-12-09 21:56:43 +0100
commit4933a7c038087ae465e588fafb392a57d7f92b87 (patch)
tree8c8c6cfa5525c8d76346812b2fea612df7fde3fc /main.c
parentac4b9bd1ce461ecd2d54b8dbed633658b0431f8b (diff)
gun angle
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index bf6ee05..ea17371 100644
--- a/main.c
+++ b/main.c
@@ -37,6 +37,7 @@ int main(int argc, char **argv)
platform_window *window = platform_open_window_ex("Zombies!", 700, 700, 1200, 1000, 500, 500, FLAGS_MINIMIZE, update_func, resize_func, close_func, 0, 0);
settings_set_number("USE_GPU", 1);
+ platform_toggle_vsync(window, true);
//fnt = assets_load_font(mono_ttf, mono_ttf+mono_ttf_len, 16);
load_map_from_data();