src/SDL_compat.c
branchSDL-1.3
changeset 1685 66267c6a0b12
parent 1684 c4aa1a2f48f1
child 1686 8d7fecceb9ef
--- a/src/SDL_compat.c	Sun Jun 18 06:35:41 2006 +0000
+++ b/src/SDL_compat.c	Sun Jun 18 07:31:45 2006 +0000
@@ -1259,7 +1259,7 @@
     case SDL_YUY2_OVERLAY:
     case SDL_UYVY_OVERLAY:
     case SDL_YVYU_OVERLAY:
-        overlay->pitches[0] = overlay->h * 2;
+        overlay->pitches[0] = overlay->w * 2;
         break;
     }