Henri Verbeet : d3d9: Do not specify WINED3D_TEXTURE_CREATE_MAPPABLE in d3d9_device_CreateDepthStencilSurface ().
Alexandre Julliard
julliard at winehq.org
Fri Nov 9 14:12:15 CST 2018
Module: wine
Branch: master
Commit: 719f0d7a3580f3cc34ae2708dacc27c103f3ef15
URL: https://source.winehq.org/git/wine.git/?a=commit;h=719f0d7a3580f3cc34ae2708dacc27c103f3ef15
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Fri Nov 9 16:13:09 2018 +0330
d3d9: Do not specify WINED3D_TEXTURE_CREATE_MAPPABLE in d3d9_device_CreateDepthStencilSurface().
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 0cf2049..8bfe012 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",
More information about the wine-cvs
mailing list