The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
SDL_ListModes on winCE
Sam Lantinga
Guest

Quote:
As of the latest SDL source I've looked at (1.2.Cool, 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
SDL_ListModes on winCE
Ryan C. Gordon
Guest

Quote:
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?

(Actually, I beat you to it...we have a new PocketPC/WinCE driver in CVS
that should support SDL_ListModes correctly, as of yesterday or so.)

--ryan.
SDL_ListModes on winCE
Sam Lantinga
Guest

Quote:
(Actually, I beat you to it...we have a new PocketPC/WinCE driver in CVS
that should support SDL_ListModes correctly, as of yesterday or so.)

*cheer*

-Sam Lantinga, Senior Software Engineer, Blizzard Entertainment