changeset 3406:8ae607392409

There's a bug with gcc 4.4.1 and -O2 where srcp doesn't get the correct value after the first scanline. Ugh.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 18 Oct 2009 23:21:15 +0000
parents d5f2dd33f4eb
children d3baf5ac4e37
files src/video/SDL_stretch.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/SDL_stretch.c	Sun Oct 18 17:49:40 2009 +0000
+++ b/src/video/SDL_stretch.c	Sun Oct 18 23:21:15 2009 +0000
@@ -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