Skip to content

Commit

Permalink
Disabled MMX blitters on GCC. They break the build on tons of machine…
Browse files Browse the repository at this point in the history
…s now.
  • Loading branch information
icculus committed Sep 11, 2011
1 parent c08f2a7 commit e8e6600
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/video/SDL_RLEaccel.c
Expand Up @@ -91,7 +91,8 @@
#include "SDL_blit.h"
#include "SDL_RLEaccel_c.h"

#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) && SDL_ASSEMBLY_ROUTINES
/* Force MMX to 0; this blows up on almost every major compiler now. --ryan. */
#if 0 && defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) && SDL_ASSEMBLY_ROUTINES
#define MMX_ASMBLIT
#endif

Expand Down
3 changes: 2 additions & 1 deletion src/video/SDL_blit_A.c
Expand Up @@ -32,7 +32,8 @@

#if SDL_ASSEMBLY_ROUTINES
# if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
# define MMX_ASMBLIT 1
/* forced MMX to 0...it breaks on most compilers now. --ryan. */
# define MMX_ASMBLIT 0
# define GCC_ASMBLIT 1
# elif defined(_MSC_VER) && defined(_M_IX86)
# if (_MSC_VER <= 1200)
Expand Down

0 comments on commit e8e6600

Please sign in to comment.