Ported GLFullscreenWindow to Swift