drawTiles optimization: allow the caller to specify the size of data within the array that should be rendered.
Merge pull request #38 from bendmorris/master

DrawTiles optimization