summaryrefslogtreecommitdiffstats
path: root/libvo/vo_directx.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_directx.c')
-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 67ed453d04..f492d957d3 100644
--- a/libvo/vo_directx.c
+++ b/libvo/vo_directx.c
@@ -1273,7 +1273,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;
}