if ((blit_instructions.dstw > 0) && (blit_instructions.dsth > 0)) { GdDrawAreaInternal(psd, &blit_instructions, blit_op); } //The code I added begin..... if(blit_instructions.dstx + blit_instructions.dstw >= psd->xvirtres) break; //The code I added end.....
I think I spoke too soon in the last reply: In looking at engine/devdraw.c::GdDrawAreaInternal(), the x and width clipping is being passed to GdClipArea, and should already be clipping the output to the width remaining on the screen. This could mean a bug in the low level psd->drawarea routine when drawing partial width blits. We would likely need your demo program and the framebuffer specs in order to debug this more fully. Regards, Greg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]