[SDL] [PATCH] Function to get desktop resolution

Bob Pendleton bob at pendleton.com
Fri Jan 28 12:36:23 PST 2005

> On Fri, 2005-01-28 at 19:22 +0000, Jon Colverson wrote:
> > Jon Colverson wrote:
> > >>> I've added a new SDL function that will get the user's current 
> > >>> resolution. This won't have meaning for some drivers, but the 
> > >>> function just returns failure if it's not implemented for the driver 
> > >>> in use.

BTW, what are you using this feature for? I assume you mentioned the
reason for it earlier but I missed it. I'm just asking because between
SDL_GetVideoInfo(), SDL_ListModes(), and SDL_VideoModeOK(), I've been
able to get the information about video modes that I need. Just curious
always looking for a chance to learn.

		Bob Pendleton

More information about the SDL mailing list