accumulator update to 32 bits for bigger displays

This commit is contained in:
ladyada committed 2014-08-18 16:18:19 -04:00
1 parent 82e71e0027
commit 3e097a6185
1 file changed
+2 -1
+2 -1
View File
@@ -304,7 +304,8 @@ void Adafruit_GFX::fillTriangle ( int16_t x0, int16_t y0,
dx02 = x2 - x0, dx02 = x2 - x0,
dy02 = y2 - y0, dy02 = y2 - y0,
dx12 = x2 - x1, dx12 = x2 - x1,
dy12 = y2 - y1, dy12 = y2 - y1;
int32_t
sa = 0, sa = 0,
sb = 0; sb = 0;