Commit 7d3b2e27 authored by Laurent Aimar's avatar Laurent Aimar Committed by Jean-Baptiste Kempf

Used linear filtering when converting chroma in D3D.

It seems to also be used for chroma upsampling.
It fixes #5751.
(cherry picked from commit 760e0cba)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 079233ba
......@@ -1166,7 +1166,7 @@ static int Direct3DImportPicture(vout_display_t *vd,
/* Copy picture surface into texture surface
* color space conversion happen here */
hr = IDirect3DDevice9_StretchRect(sys->d3ddev, source, NULL, destination, NULL, D3DTEXF_NONE);
hr = IDirect3DDevice9_StretchRect(sys->d3ddev, source, NULL, destination, NULL, D3DTEXF_LINEAR);
IDirect3DSurface9_Release(destination);
if (FAILED(hr)) {
msg_Dbg(vd, "%s:%d (hr=0x%0lX)", __FUNCTION__, __LINE__, hr);
......
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