[SDL] [PATCH] Function to get desktop resolution

David Olofson david at olofson.net
Fri Jan 28 14:48:34 PST 2005


On Friday 28 January 2005 23.18, Bob Pendleton wrote:
> On Fri, 2005-01-28 at 16:33 -0500, Simon Roby wrote:
> > IMHO it would be better to add support in SDL_SetVideoMode() to 
select
> > the current desktop resolution by specifying zero in the first and
> > second arguments. That solution would be logical since you can 
achieve
> > the same with the bpp (ie. setting it to zero selects the current
> > desktop depth), and it would avoid polluting the API with a new
> > function.
> > 
> > My 2 cents...
> 
> I'll second that. It makes sense. I would also like to see the video
> info struct extended to include the information.

As we say around Linux-Audio-Dev:

 ++votes;


//David Olofson - Programmer, Composer, Open Source Advocate

.- Audiality -----------------------------------------------.
|  Free/Open Source audio engine for games and multimedia.  |
| MIDI, modular synthesis, real time effects, scripting,... |
`-----------------------------------> http://audiality.org -'
   --- http://olofson.net --- http://www.reologica.se ---




More information about the SDL mailing list