vpinball / libdmdutil

A cross platform library for performing DMD tasks.
Other
2 stars 7 forks source link

fixed RGB24Depth adjustment #12

Closed mkalkbrenner closed 7 months ago

mkalkbrenner commented 7 months ago

The current code only applied the custom depth to one third of the pixels. This patch basically reverts the change @toxieainc introduced and @jsm174 tried to fix.

toxieainc commented 7 months ago

I'm still confused about this one. So the code at https://github.com/PPUC/libdmdutil/blob/fdfdb4c6a67a1a3c80a855c2206c3cbb8f7ff269/src/DMD.cpp#L946 really has to consume width x height x 3 x 3 bytes from pData?