This commit is contained in:
Sam Lantinga
2006-05-08 06:23:11 +00:00
parent b6c6736b67
commit 508cb27d72

View File

@@ -200,7 +200,7 @@ int DirectFB_LockYUVOverlay(_THIS, SDL_Overlay *overlay)
{
DFBResult ret;
void *data;
unsigned int pitch;
int pitch;
IDirectFBSurface *surface = overlay->hwdata->surface;
ret = surface->Lock (surface, DSLF_READ | DSLF_WRITE, &data, &pitch);