Commit b0f60f0a authored by Sam Lantinga's avatar Sam Lantinga

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

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--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%404114
parent dc78cb75
...@@ -37,7 +37,9 @@ ...@@ -37,7 +37,9 @@
#if ((defined(_MFC_VER) && defined(_M_IX86)/* && !defined(_WIN32_WCE) still needed? */) || \ #if ((defined(_MFC_VER) && defined(_M_IX86)/* && !defined(_WIN32_WCE) still needed? */) || \
defined(__WATCOMC__) || \ defined(__WATCOMC__) || \
(defined(__GNUC__) && defined(__i386__))) && SDL_ASSEMBLY_ROUTINES (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 #endif
#ifdef USE_ASM_STRETCH #ifdef USE_ASM_STRETCH
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment