Fixed compile problem in SDL_stretch.c with gcc 3.3
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40628
This commit is contained in:
parent
f1d97fe2fe
commit
29f7b2314b
1 changed files with 2 additions and 3 deletions
|
@ -261,9 +261,8 @@ int SDL_SoftStretch(SDL_Surface *src, SDL_Rect *srcrect,
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
__asm__ __volatile__ ("
|
__asm__ __volatile__ (
|
||||||
call _copy_row
|
"call _copy_row"
|
||||||
"
|
|
||||||
: "=&D" (u1), "=&S" (u2)
|
: "=&D" (u1), "=&S" (u2)
|
||||||
: "0" (dstp), "1" (srcp)
|
: "0" (dstp), "1" (srcp)
|
||||||
: "memory" );
|
: "memory" );
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue