From a8eecfbfe59e4aecc5d0332ce5c1394a53d065ea Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Sun, 18 Mar 2018 00:36:53 +0100 Subject: [PATCH] [d3d11] Enable direct image mapping by default --- src/d3d11/d3d11_texture.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/d3d11/d3d11_texture.cpp b/src/d3d11/d3d11_texture.cpp index 22a1e3f1..a0f76ef0 100644 --- a/src/d3d11/d3d11_texture.cpp +++ b/src/d3d11/d3d11_texture.cpp @@ -83,10 +83,6 @@ namespace dxvk { // Determine map mode based on our findings m_mapMode = DetermineMapMode(&imageInfo); - // FIXME Enable direct mapping if it works - if (m_mapMode == D3D11_COMMON_TEXTURE_MAP_MODE_DIRECT) - m_mapMode = D3D11_COMMON_TEXTURE_MAP_MODE_BUFFER; - // If the image is mapped directly to host memory, we need // to enable linear tiling, and DXVK needs to be aware that // the image can be accessed by the host.