summaryrefslogtreecommitdiff
blob: bff711205ff68ec584e54a935fa08833a89f4750 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Kill off TEXTREL in SDL_SoftStretch()

--- src/video/SDL_stretch.c
+++ src/video/SDL_stretch.c
@@ -286,9 +286,9 @@ int SDL_SoftStretch(SDL_Surface *src, SD
 		    default:
 #ifdef __GNUC__
 			__asm__ __volatile__ (
-			"call _copy_row"
+			"call *%4"
 			: "=&D" (u1), "=&S" (u2)
-			: "0" (dstp), "1" (srcp)
+			: "0" (dstp), "1" (srcp), "r" (&_copy_row)
 			: "memory" );
 #else
 #ifdef WIN32