Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix GFXcanvas16::drawFastRawHLine (#326)
This is a quick fix to fix functions like: ``` GFXcanvas16 *canvas = new GFXcanvas16 (240, 320) canvas -> fillTriangle(0, 0, 239, 0, 120, 310, ILI9341_BLUE) ``` Could all on down to drawFastRawHLine and the computerd buffer_index > 32767 which is the largest that could be held in int16_t. So switched to uint32_t also converted the computed value to uint32_t as well as to remove compiler warning. Removed another compiler warning as well. This addresses the problem in #325
- Loading branch information