Created a separate gl view for editor and for game.