Commit fc0eb78a authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

direct3d9: Don't round uneven sizes down.

parent cc81f032
......@@ -287,7 +287,7 @@ void UpdateRects(vout_display_t *vd,
/* Apply overlay hardware constraints */
if (sys->use_overlay)
AlignRect(&rect_src_clipped, sys->i_align_src_boundary, sys->i_align_src_size);
#elif defined(MODULE_NAME_IS_direct3d9) || defined(MODULE_NAME_IS_direct3d11)
#elif defined(MODULE_NAME_IS_direct3d11)
/* Needed at least with YUV content */
rect_src_clipped.left &= ~1;
rect_src_clipped.right &= ~1;
......
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