direct3d11: switch the pixel shader to point interpolation when reaching visible...
commitbf2eb2ef893c23dabbd7c7e835d417d83ae4b054
authorSteve Lhomme <robUx4@videolabs.io>
Tue, 19 Dec 2017 09:32:01 +0000 (19 10:32 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 20 Dec 2017 16:24:35 +0000 (20 17:24 +0100)
tree3149d34c58318a1b038246d061cae6e6bee96bbf
parentca2193a6ab25bd029ceb33fa58ae363d5667cdb8
direct3d11: switch the pixel shader to point interpolation when reaching visible sides

The texture is bigger than the visible sides, so if we use linear interpolation
on the last pixel it will use values with unknown values on the part where it
would do clamping otherwise. So we force it to use point interpolation (not
using pixels around) for the last line/column to display.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/video_output/win32/direct3d11.c