diff options
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/vo_direct3d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_direct3d.c b/libvo/vo_direct3d.c index b8237ef58b..b5b23415ce 100644 --- a/libvo/vo_direct3d.c +++ b/libvo/vo_direct3d.c @@ -1846,7 +1846,7 @@ static bool get_screenshot_from_texture(d3d_priv *priv, mp_image_t *image) struct texplane *plane = &priv->planes[n]; int width = priv->src_width >> plane->shift_x; - int height = priv->src_height >> plane->shift_x; + int height = priv->src_height >> plane->shift_y; memcpy_pic(image->planes[n], plane->locked_rect.pBits, width * plane->bytes_per_pixel, height, |