mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-02 19:24:12 +01:00
[d3d9] Always set IsAttachmentOnly for CreateOffscreenPlainSurfaceEx
Surfaces cannot be bound as textures.
This commit is contained in:
parent
1b172344eb
commit
7f8cfec46f
@ -3891,7 +3891,7 @@ namespace dxvk {
|
|||||||
desc.MultiSample = D3DMULTISAMPLE_NONE;
|
desc.MultiSample = D3DMULTISAMPLE_NONE;
|
||||||
desc.MultisampleQuality = 0;
|
desc.MultisampleQuality = 0;
|
||||||
desc.IsBackBuffer = FALSE;
|
desc.IsBackBuffer = FALSE;
|
||||||
desc.IsAttachmentOnly = Pool == D3DPOOL_DEFAULT;
|
desc.IsAttachmentOnly = TRUE;
|
||||||
// Docs: Off-screen plain surfaces are always lockable, regardless of their pool types.
|
// Docs: Off-screen plain surfaces are always lockable, regardless of their pool types.
|
||||||
desc.IsLockable = TRUE;
|
desc.IsLockable = TRUE;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user