[PATCH 3/4] d3d9: Do not specify WINED3D_TEXTURE_CREATE_MAPPABLE in d3d9_device_CreateDepthStencilSurface().
Henri Verbeet
hverbeet at codeweavers.com
Fri Nov 9 06:25:09 CST 2018
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
---
dlls/d3d9/device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/d3d9/device.c b/dlls/d3d9/device.c
index 0cf204990bd..8bfe012bc60 100644
--- a/dlls/d3d9/device.c
+++ b/dlls/d3d9/device.c
@@ -1489,7 +1489,7 @@ static HRESULT WINAPI d3d9_device_CreateDepthStencilSurface(IDirect3DDevice9Ex *
BOOL discard, IDirect3DSurface9 **surface, HANDLE *shared_handle)
{
struct d3d9_device *device = impl_from_IDirect3DDevice9Ex(iface);
- DWORD flags = WINED3D_TEXTURE_CREATE_MAPPABLE;
+ DWORD flags = 0;
TRACE("iface %p, width %u, height %u, format %#x, multisample_type %#x, multisample_quality %u.\n"
"discard %#x, surface %p, shared_handle %p.\n",
--
2.11.0
More information about the wine-devel
mailing list