Skip to content

Commit

Permalink
[d3d9] Don't mark D3DUSAGE_AUTOGENMIPMAP as renderable
Browse files Browse the repository at this point in the history
We can't access those mips via locking in D3D9 so it's a-okay! :)
  • Loading branch information
misyltoad committed Jan 24, 2020
1 parent 2004fba commit 13792df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/d3d9/d3d9_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 13792df

Please sign in to comment.