From 68a6b7f402fb33b9ba37f228eda604cca3238382 Mon Sep 17 00:00:00 2001 From: aliaspider Date: Thu, 25 Jan 2018 00:45:06 +0100 Subject: [PATCH] (D3D11) change the sampler adressing mode to clamp. fixes the background in xmb. --- gfx/drivers/d3d11.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gfx/drivers/d3d11.c b/gfx/drivers/d3d11.c index 1ac809e2f1..bb89c70d4b 100644 --- a/gfx/drivers/d3d11.c +++ b/gfx/drivers/d3d11.c @@ -231,9 +231,9 @@ d3d11_gfx_init(const video_info_t* video, const input_driver_t** input, void** i { D3D11_SAMPLER_DESC desc = { .Filter = D3D11_FILTER_MIN_MAG_MIP_POINT, - .AddressU = D3D11_TEXTURE_ADDRESS_BORDER, - .AddressV = D3D11_TEXTURE_ADDRESS_BORDER, - .AddressW = D3D11_TEXTURE_ADDRESS_BORDER, + .AddressU = D3D11_TEXTURE_ADDRESS_CLAMP, + .AddressV = D3D11_TEXTURE_ADDRESS_CLAMP, + .AddressW = D3D11_TEXTURE_ADDRESS_CLAMP, .MaxAnisotropy = 1, .ComparisonFunc = D3D11_COMPARISON_NEVER, .MinLOD = -D3D11_FLOAT32_MAX,