Closed DigitalBrains1 closed 7 years ago
Oh, by the way, the MIN() macro does double evaluation of its arguments, but that's not a problem here. I'm not too fond of it though, which is why I'm mentioning it.
I've added my alternative pull-request here: https://github.com/SHA2017-badge/micropython-esp32/pull/222
This relates to pull request #216. @basvs wrote:
This patch does exactly that. Since this patch is already very useful on its own, I created a new pull request for it.
I'm not too sure about the #ifdef GDISP_NEED_CLIP, though it will compile without it defined, it will render very wrongly. Maybe compilation should fail, perhaps with an error pragma?