set to desktop resolution when full screen?

hello,

I want to set my game to be fullscreen using the desktop resolution. Is there any config variable for that?

Otherwise, I assume I can use base.pipe.getDisplayWidth/getDisplayHeight to find out the desktop size, can anyone tell me if this is implemented for Windows yet? (I saw a forum comment circa 2007 saying it is not).

[I suppose I could go over to windows and test myself, but I use Linux and if someone could just tell me that would save some hassle :stuck_out_tongue:]

also, does anyone know under what circumstances getDisplayWidth/getDisplayHeight may fail and return 0?

You should be able to use getDisplayWidth and getDisplayHeight. It has been implemented for quite a while now on Windows. I don’t think there’s a platform on which we don’t support it.

Great, thanks!