[gameprogrammer] Re: Enumeration with SDL?

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


Other related posts: