mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +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);
|
||||
|
||||
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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user