From 4e0f8bf621fec52493ccb97b5468e8a0e26930d0 Mon Sep 17 00:00:00 2001 From: LazyFunker Date: Sun, 16 May 2021 20:44:31 +0200 Subject: [PATCH] Fix typo --- gfx/drivers/d3d11.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gfx/drivers/d3d11.c b/gfx/drivers/d3d11.c index a39a61fb88..d57104f021 100644 --- a/gfx/drivers/d3d11.c +++ b/gfx/drivers/d3d11.c @@ -1811,7 +1811,7 @@ static uintptr_t d3d11_gfx_load_texture( switch (filter_type) { case TEXTURE_FILTER_MIPMAP_LINEAR: -#ifdef __WINRT__ +#ifndef __WINRT__ texture->desc.MiscFlags = D3D11_RESOURCE_MISC_GENERATE_MIPS; #endif /* fallthrough */ @@ -1819,7 +1819,7 @@ static uintptr_t d3d11_gfx_load_texture( texture->sampler = d3d11->samplers[RARCH_FILTER_LINEAR][RARCH_WRAP_EDGE]; break; case TEXTURE_FILTER_MIPMAP_NEAREST: -#ifdef __WINRT__ +#ifndef __WINRT__ texture->desc.MiscFlags = D3D11_RESOURCE_MISC_GENERATE_MIPS; #endif /* fallthrough */