Skip to content

Commit

Permalink
There's a bug with gcc 4.4.1 and -O2 where srcp doesn't get the corre…
Browse files Browse the repository at this point in the history
…ct value after the first scanline. Ugh.
  • Loading branch information
slouken committed Oct 18, 2009
1 parent 55d8418 commit 5f558d4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/video/SDL_stretch.c
Expand Up @@ -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
Expand Down

0 comments on commit 5f558d4

Please sign in to comment.