View Single Post
Old 01-27-2016, 04:14 AM   #1
Junior Member
Join Date: Nov 2015
Posts: 11
Default Bug fix: dlo_grfx.c function cmd_stripe24 with width exactly 256 pixels

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?
Jim2220 is offline   Reply With Quote