Page 1 of 1

How can I get the size of display?

PostPosted: Jan 23, 2007 @ 3:43pm
by Nomad
I want to make multi-resolutional application (for 320x240 and 640x480), but can't find anything about determining the size of display at runetime by means of GledPlay.

Must I use Win32 features for this?

PostPosted: Jan 24, 2007 @ 11:52pm
by Sergio
Hi Nomad,
You could set it up to run on 640x480, and then ask for the size of the back buffer surface.
You you want to know it before you execute the run method, then you will need to use som win32 functionality.

Best regards,
Sergio.

PostPosted: Jan 25, 2007 @ 12:11am
by Nomad