diff --git a/src/video/SDL_video.c b/src/video/SDL_video.c index 36f3dc89f5..98fd06d2b3 100644 --- a/src/video/SDL_video.c +++ b/src/video/SDL_video.c @@ -1430,7 +1430,7 @@ bool SDL_GetClosestFullscreenDisplayMode(SDL_DisplayID displayID, int w, int h, * refresh rate target */ continue; } - if (SDL_BYTESPERPIXEL(closest->format) >= SDL_BYTESPERPIXEL(mode->format)) { + if (SDL_BYTESPERPIXEL(closest->format) > SDL_BYTESPERPIXEL(mode->format)) { // Prefer the highest color depth continue; }