mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-15 07:29:17 +01:00
[d3d9] Don't mark D3DUSAGE_AUTOGENMIPMAP as renderable
We can't access those mips via locking in D3D9 so it's a-okay! :)
This commit is contained in:
parent
2004fba22c
commit
13792df4c5
@ -3833,7 +3833,7 @@ namespace dxvk {
|
|||||||
|
|
||||||
pResource->SetLockFlags(Subresource, Flags);
|
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
|
// If we are dirty, then we need to copy -> buffer
|
||||||
// We are also always dirty if we are a render target,
|
// We are also always dirty if we are a render target,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user