Henri Verbeet : d3d8: Do not specify WINED3D_TEXTURE_CREATE_MAPPABLE in d3d8_device_CreateDepthStencilSurface ().
Alexandre Julliard
julliard at winehq.org
Mon Nov 12 16:26:55 CST 2018
Module: wine
Branch: master
Commit: 838960035888bb33e07e3830ae360c29a4159789
URL: https://source.winehq.org/git/wine.git/?a=commit;h=838960035888bb33e07e3830ae360c29a4159789
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Mon Nov 12 13:31:20 2018 +0330
d3d8: Do not specify WINED3D_TEXTURE_CREATE_MAPPABLE in d3d8_device_CreateDepthStencilSurface().
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/d3d8/device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/d3d8/device.c b/dlls/d3d8/device.c
index 1d7e3df..b91a383 100644
--- a/dlls/d3d8/device.c
+++ b/dlls/d3d8/device.c
@@ -1230,7 +1230,7 @@ static HRESULT WINAPI d3d8_device_CreateDepthStencilSurface(IDirect3DDevice8 *if
*surface = NULL;
/* TODO: Verify that Discard is false */
- return d3d8_device_create_surface(device, width, height, format, WINED3D_TEXTURE_CREATE_MAPPABLE,
+ return d3d8_device_create_surface(device, width, height, format, 0,
surface, D3DUSAGE_DEPTHSTENCIL, D3DPOOL_DEFAULT, multisample_type, 0);
}
More information about the wine-cvs
mailing list