Commit e3109037 authored by gu3's avatar gu3

Enable more screen resolutions such as 1280x1024

parent 3df9e02a
......@@ -56,7 +56,7 @@ int32_t SDL_WaitEventTimeout(SDL_Event *event, int32_t timeout);
} \
}
#define SDL_CHECKMODE(w, h) ((w < MAXXDIM) && (h < MAXYDIM) && (w >= MINXDIM) && (h >= MINYDIM) && (((float)w/(float)h) >= 1.3f))
#define SDL_CHECKMODE(w, h) ((w < MAXXDIM) && (h < MAXYDIM) && (w >= MINXDIM) && (h >= MINYDIM) && (((float)w/(float)h) >= 1.2f))
#define SDL_CHECKFSMODES(w, h) \
if (w == 0 && h == 0) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment