aboutsummaryrefslogtreecommitdiff
path: root/src/main.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.S')
-rw-r--r--src/main.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.S b/src/main.S
index 5e2ccf0..6bad719 100644
--- a/src/main.S
+++ b/src/main.S
@@ -77,7 +77,7 @@
// create a renderer
load_local window_handle, %rdi
mov $-1, %rsi
- mov $SDL_RENDERER_ACCELERATED, %rdx
+ mov $(SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC), %rdx
call SDL_CreateRenderer@PLT
store_local %rax, renderer_handle