commit | 56f99d63df16836e03cc8bc2c531684e89e1b6f1 | [log] [tgz] |
---|---|---|
author | Pierre Ossman <ossman@cendio.se> | Fri Jun 05 12:57:02 2015 +0200 |
committer | Pierre Ossman <ossman@cendio.se> | Fri Jun 05 12:57:02 2015 +0200 |
tree | 4b163e1f2abed34a71840e87ebf59aa21de2adf0 | |
parent | 500cb6ef11a52345bf49e751976bff386e6e09ef [diff] |
Change fillRect() to take a buffer instead of a pixel There has been some confusion if fillRect() should accept a buffer or a pixel. This can cause misrendering if your data is not in the native endian order. A buffer makes more sense here though, and is what most of the callers are already assuming, so change the API to follow that.