PDA

View Full Version : Bug fix: dlo_grfx.c function cmd_stripe24 with width exactly 256 pixels


Jim2220
01-27-2016, 04:14 AM
I had a problem calling dlo_copy_host_bmp with a width of exactly 256 bytes. The resulting display had only one line. The line with my comment fixed it.

end = base8 + (BYTES_PER_8BPP * width); // line 724 of dlo_grfx.c
/* Jim adds this guess */ rem=width;
for (; base8 < end; base8 += BYTES_PER_8BPP * RAW_MAX_PIXELS)

Is libdlo under active support?