Started working on a batched sprite renderer. It works for sprites with the same texture, but doesn't work for rotation and sprites with different textures.