[SDL] Getting the system resolution

Peter Mulholland darkmatter at freeuk.com
Sat Dec 2 15:17:39 PST 2006


Hello Nuno,

Saturday, December 2, 2006, 10:58:08 PM, you wrote:

> I have the latest version installed. Maybe the documentian is older...

Documentation is newer - I looked it up on the Wiki.

> How can i see if my version has the needed field?

It's in SDL 1.2.11 at least, so you don't have the latest version
installed. You are looking for the current_w and current_h fields in
the SDL_VideoInfo struct.


-- 
Best regards,
 Peter                            mailto:darkmatter at freeuk.com





More information about the SDL mailing list