- Fixed vga to vga blits with a negative direction.

svn path=/trunk/; revision=5389
This commit is contained in:
David Welch 2003-08-02 19:53:56 +00:00
parent a319015f49
commit 6cb3436154

View file

@ -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