From 26f1a9da32f831b0b14b5b1488d4fb902bed43b9 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sun, 18 Oct 2009 23:21:15 +0000 Subject: [PATCH] There's a bug with gcc 4.4.1 and -O2 where srcp doesn't get the correct value after the first scanline. Ugh. --- src/video/SDL_stretch.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/video/SDL_stretch.c b/src/video/SDL_stretch.c index 78f3b1175..437db6482 100644 --- a/src/video/SDL_stretch.c +++ b/src/video/SDL_stretch.c @@ -37,7 +37,9 @@ #if ((defined(_MFC_VER) && defined(_M_IX86)/* && !defined(_WIN32_WCE) still needed? */) || \ defined(__WATCOMC__) || \ (defined(__GNUC__) && defined(__i386__))) && SDL_ASSEMBLY_ROUTINES -#define USE_ASM_STRETCH +/* There's a bug with gcc 4.4.1 and -O2 where srcp doesn't get the correct + * value after the first scanline. FIXME? */ +/*#define USE_ASM_STRETCH*/ #endif #ifdef USE_ASM_STRETCH