mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-20 19:54:19 +01:00
[d3d9] Fix PresentGDI
This commit is contained in:
parent
26a14c5175
commit
903f1af176
@ -1041,7 +1041,9 @@ namespace dxvk {
|
||||
desc.Discard = FALSE;
|
||||
desc.IsBackBuffer = TRUE;
|
||||
desc.IsAttachmentOnly = FALSE;
|
||||
desc.IsLockable = (Flags & D3DPRESENTFLAG_LOCKABLE_BACKBUFFER) != 0;
|
||||
// we cannot respect D3DPRESENTFLAG_LOCKABLE_BACKBUFFER here because
|
||||
// we might need to lock for the BlitGDI fallback path
|
||||
desc.IsLockable = true;
|
||||
|
||||
for (uint32_t i = 0; i < NumBuffers; i++) {
|
||||
D3D9Surface* surface;
|
||||
|
Loading…
x
Reference in New Issue
Block a user