From 8f3fc1c2ade3c1c632cd3f3998ee26d2962e4dea Mon Sep 17 00:00:00 2001 From: Lothar Serra Mari Date: Sun, 22 Apr 2018 16:20:11 +0200 Subject: [PATCH] Fix check for SDL2 version --- SDL/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SDL/main.c b/SDL/main.c index ea03ef0..73c34e8 100755 --- a/SDL/main.c +++ b/SDL/main.c @@ -472,7 +472,7 @@ int main(int argc, char **argv) want_aspec.samples = 512; #endif -#if SDL_COMPILEDVERSION > 2006 && defined(_WIN32) +#if SDL_COMPILEDVERSION >= 2006 && defined(_WIN32) /* SDL 2.0.6 offers WASAPI support which allows for much lower audio buffer lengths which at least theoretically reduces lagging. */ printf("SDL 2.0.6+ detected, reducing audio buffer to 32 samples\n");