[gameprogrammer] Re: Enumeration with SDL?
- From: "Olivier Delannoy" <olivier.delannoy@xxxxxxxxx>
- To: gameprogrammer@xxxxxxxxxxxxx
- Date: Tue, 4 Jul 2006 10:09:02 +0200
SDL_ListVideoModes can list all supported mode for a device.
On 7/4/06, Enrico Zschemisch <enrico.zschemisch@xxxxxx> wrote:
Hi,
we have based our engine on SDL, but now we need a way to enumerate the
display/graphics card just like we could do with DirectX. So the drivers
tell us, which resolution, depth, etc. they support. I found
SDL_VideoModeOK(), but this would also force us to hardcode all values
and test them.
Any ideas?
Thanks, Enrico
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
- Follow-Ups:
- [gameprogrammer] Re: Enumeration with SDL?
- From: Enrico Zschemisch
- References:
- [gameprogrammer] Enumeration with SDL?
- From: Enrico Zschemisch
Other related posts:
- » [gameprogrammer] Enumeration with SDL?
- » [gameprogrammer] Re: Enumeration with SDL?
- » [gameprogrammer] Re: Enumeration with SDL?
Hi,
we have based our engine on SDL, but now we need a way to enumerate the display/graphics card just like we could do with DirectX. So the drivers tell us, which resolution, depth, etc. they support. I found SDL_VideoModeOK(), but this would also force us to hardcode all values and test them.
Any ideas?
Thanks, Enrico
--------------------- To unsubscribe go to http://gameprogrammer.com/mailinglist.html
- [gameprogrammer] Re: Enumeration with SDL?
- From: Enrico Zschemisch
- [gameprogrammer] Enumeration with SDL?
- From: Enrico Zschemisch