Mercurial > sdl-ios-xcode
diff src/video/dga/SDL_dgavideo.c @ 462:1be0cdaf8092
Fixed offset bug in hardware accelerated fills and blits
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 20 Aug 2002 16:58:49 +0000 |
parents | f6ffac90895c |
children | 4bcfb93e0dfe |
line wrap: on
line diff
--- a/src/video/dga/SDL_dgavideo.c Tue Aug 20 06:08:42 2002 +0000 +++ b/src/video/dga/SDL_dgavideo.c Tue Aug 20 16:58:49 2002 +0000 @@ -793,10 +793,6 @@ { *x = (long)((Uint8 *)dst->pixels - memory_base)%memory_pitch; *y = (long)((Uint8 *)dst->pixels - memory_base)/memory_pitch; - if ( dst == this->screen ) { - *x += this->offset_x; - *y += this->offset_y; - } } static int DGA_FillHWRect(_THIS, SDL_Surface *dst, SDL_Rect *rect, Uint32 color)