TINYGL: Fixed a bug in tglBlitRLE that disregarded destination position.
This commit is contained in:
parent
d5b137b507
commit
c7e70710b3
1 changed files with 1 additions and 0 deletions
|
@ -167,6 +167,7 @@ void tglBlitRLE(BlitImage *blitImage, int dstX, int dstY, int srcX, int srcY, in
|
|||
srcBuf.shiftBy(srcX + (srcY * blitImage->_surface.w));
|
||||
|
||||
Graphics::PixelBuffer dstBuf(c->fb->cmode, c->fb->getPixelBuffer());
|
||||
dstBuf.shiftBy(dstY * c->fb->xsize + dstX);
|
||||
|
||||
const int kBytesPerPixel = 2;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue