drawbitmap just offscreen issue
MrBlinky opened this issue · 1 comments
MrBlinky commented
When a bitmap is just off screen (x+w == 0) || (y+h == 0) bitmap code is unnecessarily executed.
if (x+w < 0 || x > WIDTH-1 || y+h < 0 || y > HEIGHT-1)
should be:
if (x+w <= 0 || x > WIDTH-1 || y+h <= 0 || y > HEIGHT-1)
Line 824 in 3f9e86a
MLXXXp commented
This fix has been implemented for the next release. The same for drawSlowXYBitmap() and drawCompressed().