mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 19:26:05 +00:00
- Fixed vga to vga blits with a negative direction.
svn path=/trunk/; revision=5389
This commit is contained in:
@@ -147,8 +147,8 @@ VGAtoVGA(SURFOBJ *Dest, SURFOBJ *Source, XLATEOBJ *ColorTranslation,
|
||||
dx = DestRect->right - DestRect->left;
|
||||
dy = DestRect->bottom - DestRect->top;
|
||||
|
||||
alterx = abs(SourcePoint->x - DestRect->left);
|
||||
altery = abs(SourcePoint->y - DestRect->top);
|
||||
alterx = DestRect->left - SourcePoint->x;
|
||||
altery = DestRect->top - SourcePoint->y;
|
||||
|
||||
// Determine bltting direction
|
||||
// FIXME: should we perhaps make this an EngXxx function? Determining
|
||||
|
||||
Reference in New Issue
Block a user