From 13792df4c5b1addc477e8e4a8e024f47e6a138f8 Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Fri, 24 Jan 2020 05:47:00 +0000 Subject: [PATCH] [d3d9] Don't mark D3DUSAGE_AUTOGENMIPMAP as renderable We can't access those mips via locking in D3D9 so it's a-okay! :) --- src/d3d9/d3d9_device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d3d9/d3d9_device.cpp b/src/d3d9/d3d9_device.cpp index 3914eb17..7c8d394f 100644 --- a/src/d3d9/d3d9_device.cpp +++ b/src/d3d9/d3d9_device.cpp @@ -3833,7 +3833,7 @@ namespace dxvk { pResource->SetLockFlags(Subresource, Flags); - bool renderable = desc.Usage & (D3DUSAGE_RENDERTARGET | D3DUSAGE_DEPTHSTENCIL | D3DUSAGE_AUTOGENMIPMAP); + bool renderable = desc.Usage & (D3DUSAGE_RENDERTARGET | D3DUSAGE_DEPTHSTENCIL); // If we are dirty, then we need to copy -> buffer // We are also always dirty if we are a render target,