If you're going to swap between windowed and fullscreen mode it would probably be substantially faster to just leave it in windowed mode and set it to maximize.
Also I don't know if you really need to find the index of the resolution you want to use since SetCVar('gxResolution', '350x250') changes the size of the window.
Last edited by semlar : 01-21-14 at 07:45 AM.
|