GRAPHICS: Fix copy/paste error in blitSurfaceClip (CID 1357411)
This commit is contained in:
parent
eeafe230b9
commit
6eabc887e1
1 changed files with 1 additions and 1 deletions
|
@ -829,7 +829,7 @@ blitSubSurfaceClip(const Graphics::Surface *source, const Common::Rect &r, const
|
|||
y = clipping.top;
|
||||
}
|
||||
if (usedW > clipping.width()) usedW = clipping.width();
|
||||
if (usedH > clipping.width()) usedH = clipping.height();
|
||||
if (usedH > clipping.height()) usedH = clipping.height();
|
||||
|
||||
byte *dst_ptr = (byte *)_activeSurface->getBasePtr(x, y);
|
||||
const byte *src_ptr = (const byte *)source->getBasePtr(offsetX, offsetY);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue