src/video/SDL_blit_copy.c
changeset 6033 8788e295d3c8
parent 6032 aa31cad2451f
child 6034 e228e94fef7f
equal deleted inserted replaced
6032:aa31cad2451f 6033:8788e295d3c8
   125         return;
   125         return;
   126     }
   126     }
   127 #endif
   127 #endif
   128 
   128 
   129 #ifdef __MMX__
   129 #ifdef __MMX__
   130     if (SDL_HasMMX()) {
   130     if (SDL_HasMMX() && !(srcskip & 7) && !(dstskip & 7)) {
   131         while (h--) {
   131         while (h--) {
   132             SDL_memcpyMMX(dst, src, w);
   132             SDL_memcpyMMX(dst, src, w);
   133             src += srcskip;
   133             src += srcskip;
   134             dst += dstskip;
   134             dst += dstskip;
   135         }
   135         }