Hi everyone,
It seems like a simple question, but how do I find out which resolutions are permitted by the chosen device? For example, when I create my device, it will only permit me to pass certain values for screen width and height into my perspective matrix.It works if I specify 1024x768, but it will fail to initialise D3D if I specify 1023x768, for example. There doesn't seem to be a place in the D3DCAPS9 structure for info about permitted resolutions - where can I find out about them?
Thanks!