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