Magellan Linux

Contents of /trunk/libsdl/patches/libsdl-1.2.9-PIC-SDL_stretch.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 144 - (show annotations) (download)
Tue May 8 20:06:05 2007 UTC (17 years ago) by niro
File size: 396 byte(s)
-import

1 Kill off TEXTREL in SDL_SoftStretch()
2
3 --- src/video/SDL_stretch.c
4 +++ src/video/SDL_stretch.c
5 @@ -286,9 +286,9 @@ int SDL_SoftStretch(SDL_Surface *src, SD
6 default:
7 #ifdef __GNUC__
8 __asm__ __volatile__ (
9 - "call _copy_row"
10 + "call *%4"
11 : "=&D" (u1), "=&S" (u2)
12 - : "0" (dstp), "1" (srcp)
13 + : "0" (dstp), "1" (srcp), "r" (&_copy_row)
14 : "memory" );
15 #else
16 #ifdef WIN32