PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

How can I get the size of display?

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?
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.
Hi, Sergio.
Thank you for your help.