http://GameProgrammer.Com

Programming

GP Mailing List
     Thread Index
     Date Index

ATXGPSIG List
     Thread Index
     Date Index

Google
>

Home

Wise2Food



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gameprogrammer] Re: Enumeration with SDL?



SDL_ListVideoModes can list all supported mode for a device.




On 7/4/06, Enrico Zschemisch <enrico.zschemisch@gmx.de> 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