From 5f558d4fae5e89ba34e8fc623d2ef6644df09726 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sun, 18 Oct 2009 23:18:28 +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 62cdcc7a8..e16fd3fea 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