The original glutEnterGameMode() returns the window id of the game