Uses the correct shader when window resizing.