Why would you have to redo a fair bit?
Its just a simple switch at the beginning :-)
After that point you can work on as you intend to do with graphics unless I missed something very important ...
And it allows you to reposition the window if in windowed mode :)
Its just a simple switch at the beginning :-)
If fullscreen graphics ... else create Window Create Canvas Set Focus on Canvas enable polled input endif
After that point you can work on as you intend to do with graphics unless I missed something very important ...
And it allows you to reposition the window if in windowed mode :)