Batching flushes on texture change
Batching flushes on texture change

This fixes a bug when multiple atlases are required.

jwilm/alacritty,alacritty/alacritty,jwilm/alacritty,jwilm/alacritty,dannydulai/alacritty,jwilm/alacritty,dannydulai/alacritty,alacritty/alacritty