There's a bug with gcc 4.4.1 and -O2 where srcp doesn't get the correct value after the first scanline. Ugh.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404115
This commit is contained in:
Sam Lantinga 2009-10-18 23:21:15 +00:00
parent 7df7cdde39
commit 4483fc99e3

View file

@ -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