aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-02-23 22:23:04 -0500
committerSam Anthony <sam@samanthony.xyz>2025-02-23 22:23:04 -0500
commit8387a1f035244204daf03428e5af0bdcf22929ba (patch)
treebf7bd046d287b920b044d7be771364ddf68e8e59
parentbdc6e6af796440f06b37f204aedc40d9220f975d (diff)
downloadvolute-8387a1f035244204daf03428e5af0bdcf22929ba.zip
enable vsync
-rw-r--r--renderer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/renderer.c b/renderer.c
index 2fd0a37..c204f5a 100644
--- a/renderer.c
+++ b/renderer.c
@@ -12,7 +12,7 @@ enum window {
WIDTH = 640,
HEIGHT = 480,
WINFLAGS = SDL_WINDOW_RESIZABLE,
- RENDERFLAGS = 0,
+ RENDERFLAGS = SDL_RENDERER_PRESENTVSYNC,
};
static const char FONT[] = "font/charter-regular.ttf";