SDL_memcpyMMX(): Make sure srcskip and dstskip are 8-byte aligned.
Thanks to Patrick Baggett for the fix!
This commit is contained in:
parent
c6f4eaaf06
commit
e66bcd9efe
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ SDL_BlitCopy(SDL_BlitInfo * info)
|
|||
#endif
|
||||
|
||||
#ifdef __MMX__
|
||||
if (SDL_HasMMX()) {
|
||||
if (SDL_HasMMX() && !(srcskip & 7) && !(dstskip & 7)) {
|
||||
while (h--) {
|
||||
SDL_memcpyMMX(dst, src, w);
|
||||
src += srcskip;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue