I’m trying to get it with SDL_ListModes, but it is returning -1 to me, and SDL_VideoModeOK just checks the mode that I wan’t…
But if I’m going to scale my hole program to a largest mode, e.g., from 800x600 to 1024x768, I need to know that the video supports 1024x768, instead of “All modes avaliable.”, that SDL_ListModes gives me.
I’m using XFree 4.0.3 with icewm at 1024x768x16 on SiS530 with 4MB.
Any suggestion?
Thanks for helping,–
Marcelo R Leitner
ICQ #: 29966851
Kill’em All … And Justice For All.
I’m trying to get it with SDL_ListModes, but it is returning -1 to me,
and SDL_VideoModeOK just checks the mode that I wan’t… But if I’m
going to scale my hole program to a largest mode, e.g., from 800x600
to 1024x768, I need to know that the video supports 1024x768, instead
of “All modes avaliable.”, that SDL_ListModes gives me. I’m using
XFree 4.0.3 with icewm at 1024x768x16 on SiS530 with 4MB. Any
suggestion?
Make sure you pass SDL_FULLSCREEN in SDL_ListModes() flags.