Fix check for SDL2 version

This commit is contained in:
Lothar Serra Mari 2018-04-22 16:20:11 +02:00
parent ca571c6fa5
commit 8f3fc1c2ad
1 changed files with 1 additions and 1 deletions

View File

@ -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");