mirror of
https://github.com/reactos/reactos.git
synced 2024-09-15 07:05:04 +00:00
- Fixed vga to vga blits with a negative direction.
svn path=/trunk/; revision=5389
This commit is contained in:
parent
a319015f49
commit
6cb3436154
|
@ -147,8 +147,8 @@ VGAtoVGA(SURFOBJ *Dest, SURFOBJ *Source, XLATEOBJ *ColorTranslation,
|
||||||
dx = DestRect->right - DestRect->left;
|
dx = DestRect->right - DestRect->left;
|
||||||
dy = DestRect->bottom - DestRect->top;
|
dy = DestRect->bottom - DestRect->top;
|
||||||
|
|
||||||
alterx = abs(SourcePoint->x - DestRect->left);
|
alterx = DestRect->left - SourcePoint->x;
|
||||||
altery = abs(SourcePoint->y - DestRect->top);
|
altery = DestRect->top - SourcePoint->y;
|
||||||
|
|
||||||
// Determine bltting direction
|
// Determine bltting direction
|
||||||
// FIXME: should we perhaps make this an EngXxx function? Determining
|
// FIXME: should we perhaps make this an EngXxx function? Determining
|
||||||
|
|
Loading…
Reference in a new issue