Mercurial > sdl-ios-xcode
comparison src/video/SDL_stretch.c @ 4356:ab2dfac9d5c1 SDL-1.2
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:18:28 +0000 |
parents | 9b464226e541 |
children | abb56f7699ea |
comparison
equal
deleted
inserted
replaced
4355:9b464226e541 | 4356:ab2dfac9d5c1 |
---|---|
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 |