CL blitter bounds check fix.

This commit is contained in:
Toni Wilen 2018-02-14 20:32:07 +02:00
parent 2b287b7cbc
commit b48eb99d54

View File

@ -205,7 +205,7 @@ static void check_blit(int32_t addr, uint32_t mask, int pitch, int width, int *h
dst += (dstaddr & dstmask);
#define BLTCHECK_DST(skip) \
check_blit(dstaddr, dstmask, dstpitch, bltwidth - skip, &bltheight, DEPTH, 1);
check_blit(dstaddr + skip, dstmask, dstpitch, bltwidth - skip, &bltheight, DEPTH, 1);
#define BLTCHECK_FWD \
check_blit(dstaddr, dstmask, dstpitch, bltwidth, &bltheight, 8, 1); \