diff --git a/source/build/src/sdlayer12.cpp b/source/build/src/sdlayer12.cpp index 311eb9922..7083305ec 100644 --- a/source/build/src/sdlayer12.cpp +++ b/source/build/src/sdlayer12.cpp @@ -267,7 +267,7 @@ void getvalidmodes(void) { for (i = 0; modes[i]; i++) { - if (!SDL_CHECKMODE(modes[i]->w, modes[i]->h > MAXYDIM)) + if (!SDL_CHECKMODE(modes[i]->w, modes[i]->h)) continue; SDL_ADDMODE(modes[i]->w, modes[i]->h, cdepths[j], 1);