I am working on creating an options menu through which I can change resolution and toggle full screen mode. I am allowing only those resolutions that have aspect ratio 16:9, as my game was originally made for 1600x900 resolution. How do I do this properly? For now, what I have tried is to close the current window and create a new window with target resolution and style. I also have to configure original window settings in this new window, like frame rate. In the original window, I tried to cr...