comparison src/video/SDL_stretch.c @ 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 f7b03b6838cb
comparison
equal deleted inserted replaced
3405:d5f2dd33f4eb 3406:8ae607392409
35 */ 35 */
36 36
37 #if ((defined(_MFC_VER) && defined(_M_IX86)/* && !defined(_WIN32_WCE) still needed? */) || \ 37 #if ((defined(_MFC_VER) && defined(_M_IX86)/* && !defined(_WIN32_WCE) still needed? */) || \
38 defined(__WATCOMC__) || \ 38 defined(__WATCOMC__) || \
39 (defined(__GNUC__) && defined(__i386__))) && SDL_ASSEMBLY_ROUTINES 39 (defined(__GNUC__) && defined(__i386__))) && SDL_ASSEMBLY_ROUTINES
40 #define USE_ASM_STRETCH 40 /* There's a bug with gcc 4.4.1 and -O2 where srcp doesn't get the correct
41 * value after the first scanline. FIXME? */
42 /*#define USE_ASM_STRETCH*/
41 #endif 43 #endif
42 44
43 #ifdef USE_ASM_STRETCH 45 #ifdef USE_ASM_STRETCH
44 46
45 #ifdef HAVE_MPROTECT 47 #ifdef HAVE_MPROTECT