Patched to compile.
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401236
This commit is contained in:
parent
3283200097
commit
50b7b55c2c
1 changed files with 1 additions and 4 deletions
|
@ -58,9 +58,6 @@ static char rcsid =
|
|||
#error Need assembly opcodes for this architecture
|
||||
#endif
|
||||
|
||||
#if defined(__ELF__) && defined(__GNUC__)
|
||||
extern unsigned char _copy_row[4096] __attribute__ ((alias ("copy_row")));
|
||||
#endif
|
||||
static unsigned char copy_row[4096];
|
||||
|
||||
static int generate_rowbytes(int src_w, int dst_w, int bpp)
|
||||
|
@ -288,7 +285,7 @@ int SDL_SoftStretch(SDL_Surface *src, SDL_Rect *srcrect,
|
|||
__asm__ __volatile__ (
|
||||
"call *%4"
|
||||
: "=&D" (u1), "=&S" (u2)
|
||||
: "0" (dstp), "1" (srcp), "r" (&_copy_row)
|
||||
: "0" (dstp), "1" (srcp), "r" (©_row)
|
||||
: "memory" );
|
||||
#else
|
||||
#ifdef WIN32
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue