Commit c11fd844 authored by Felix Abecassis's avatar Felix Abecassis Committed by Jean-Baptiste Kempf

Direct3D: set dimensions of the D3D picture region

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent d5092d76
......@@ -314,6 +314,8 @@ static void Prepare(vout_display_t *vd, picture_t *picture, subpicture_t *subpic
d3d_region_t picture_region;
if (!Direct3DImportPicture(vd, &picture_region, surface)) {
picture_region.width = picture->format.i_visible_width;
picture_region.height = picture->format.i_visible_height;
int subpicture_region_count = 0;
d3d_region_t *subpicture_region = NULL;
if (subpicture)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment