Skip to content
Permalink
Browse files

There's a bug with gcc 4.4.1 and -O2 where srcp doesn't get the corre…

…ct value after the first scanline. Ugh.
  • Loading branch information
slouken committed Oct 18, 2009
1 parent 55d8418 commit 5f558d4fae5e89ba34e8fc623d2ef6644df09726
Showing with 3 additions and 1 deletion.
  1. +3 −1 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

0 comments on commit 5f558d4

Please sign in to comment.