summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libvo/vo_directx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_directx.c b/libvo/vo_directx.c
index b87c811b76..c41d71959a 100644
--- a/libvo/vo_directx.c
+++ b/libvo/vo_directx.c
@@ -1276,7 +1276,7 @@ static uint32_t put_image(mp_image_t *mpi){
}
else //packed
{
- fast_memcpy( image, mpi->planes[0], image_height * dstride);
+ mem2agpcpy_pic(image, mpi->planes[0], w * (mpi->bpp / 8), h, dstride, mpi->stride[0]);
}
return VO_TRUE;
}