comparison src/video/directfb/SDL_DirectFB_yuv.c @ 1659:14717b52abc0 SDL-1.3

Merge trunk-1.3-3
author Sam Lantinga <slouken@libsdl.org>
date Wed, 17 May 2006 08:18:28 +0000
parents 51038e80ae59
children 782fd950bd46 c121d94672cb e5a65c16913b
comparison
equal deleted inserted replaced
1658:e49147870aac 1659:14717b52abc0
198 198
199 int DirectFB_LockYUVOverlay(_THIS, SDL_Overlay *overlay) 199 int DirectFB_LockYUVOverlay(_THIS, SDL_Overlay *overlay)
200 { 200 {
201 DFBResult ret; 201 DFBResult ret;
202 void *data; 202 void *data;
203 unsigned int pitch; 203 int pitch;
204 IDirectFBSurface *surface = overlay->hwdata->surface; 204 IDirectFBSurface *surface = overlay->hwdata->surface;
205 205
206 ret = surface->Lock (surface, DSLF_READ | DSLF_WRITE, &data, &pitch); 206 ret = surface->Lock (surface, DSLF_READ | DSLF_WRITE, &data, &pitch);
207 if (ret) 207 if (ret)
208 { 208 {