[SDL] SDL_ListModes on winCE
Sam Lantinga
slouken at devolution.com
Sun Jan 22 00:39:15 PST 2006
> As of the latest SDL source I've looked at (1.2.8), SDL_ListModes
> returns -1 on winCE, implying any resolution is valid. Would it not
> make more sense to return a mode for the current desktop window size?
> Code along the lines of:
> resx = GetDeviceCaps(GetDC(NULL), HORZRES);
> resy = GetDeviceCaps(GetDC(NULL), VERTRES);
> should retrieve the info according to research. (test and verify pending)
This has been entered in bugzilla:
https://bugzilla.libsdl.org/show_bug.cgi?id=65
Could you go to that bug and enter any comments you have on that fix?
Thanks!
-Sam Lantinga, Senior Software Engineer, Blizzard Entertainment
More information about the SDL
mailing list