render: Move non-batching flushes to different place.

This lets us batch up a few commands that are all related to the same API
call.

--HG--
branch : SDL-ryan-batching-renderer
1 file changed