src/video/SDL_blit_copy.c
changeset 6033 8788e295d3c8
parent 6032 aa31cad2451f
child 6034 e228e94fef7f
--- a/src/video/SDL_blit_copy.c	Sat Oct 29 00:57:45 2011 -0400
+++ b/src/video/SDL_blit_copy.c	Sat Oct 29 01:03:50 2011 -0400
@@ -127,7 +127,7 @@
 #endif
 
 #ifdef __MMX__
-    if (SDL_HasMMX()) {
+    if (SDL_HasMMX() && !(srcskip & 7) && !(dstskip & 7)) {
         while (h--) {
             SDL_memcpyMMX(dst, src, w);
             src += srcskip;