mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
SDL_SoftStretch: re-enable USE_ASM_STRETCH path for gcc >= 4.6
This commit is contained in:
parent
a1d288bea1
commit
ff827fc767
@ -38,8 +38,14 @@
|
|||||||
(defined(__WATCOMC__) && defined(__386__)) || \
|
(defined(__WATCOMC__) && defined(__386__)) || \
|
||||||
(defined(__GNUC__) && defined(__i386__))) && SDL_ASSEMBLY_ROUTINES
|
(defined(__GNUC__) && defined(__i386__))) && SDL_ASSEMBLY_ROUTINES
|
||||||
/* There's a bug with gcc 4.4.1 and -O2 where srcp doesn't get the correct
|
/* There's a bug with gcc 4.4.1 and -O2 where srcp doesn't get the correct
|
||||||
* value after the first scanline. FIXME? */
|
* value after the first scanline. */
|
||||||
/* #define USE_ASM_STRETCH */
|
/* This bug seems fixed, at least with gcc >= 4.6 */
|
||||||
|
# define USE_ASM_STRETCH
|
||||||
|
# if defined(__GNUC__)
|
||||||
|
# if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6))
|
||||||
|
# undef USE_ASM_STRETCH
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef USE_ASM_STRETCH
|
#ifdef USE_ASM_STRETCH
|
||||||
|
Loading…
Reference in New Issue
Block a user