Skip to content

Commit 2f35dab

Browse files
committed
fix png conversion
1 parent a621f5d commit 2f35dab

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/graphics/Image/pngHelpers/ImagePNG.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ void pngle_on_draw(pngle_t *pngle, uint32_t x, uint32_t y, uint32_t w, uint32_t
7575

7676
if (_pngDither)
7777
{
78-
px = _imagePtrPng->ditherGetPixelBmp((r << 16) | (g << 8) | (b), x + i, y + j,
79-
_imagePtrPng->_inkplate->width(), 0);
8078
px = _imagePtrPng->ditherGetPixelBmp(RGB8BIT(r, g, b), x + i, y + j,
8179
_imagePtrPng->_inkplate->width(), 0);
8280
if (_pngInvert)

0 commit comments

Comments
 (0)