Henri Verbeet : d3d8: Do not specify WINED3D_TEXTURE_CREATE_MAPPABLE in texture_init().
Alexandre Julliard
julliard at winehq.org
Mon Nov 12 16:26:55 CST 2018
Module: wine
Branch: master
Commit: cfebf9e260d045774a9a42a0836b369a3cb65d88
URL: https://source.winehq.org/git/wine.git/?a=commit;h=cfebf9e260d045774a9a42a0836b369a3cb65d88
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Mon Nov 12 13:31:18 2018 +0330
d3d8: Do not specify WINED3D_TEXTURE_CREATE_MAPPABLE in texture_init().
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/d3d8/texture.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/dlls/d3d8/texture.c b/dlls/d3d8/texture.c
index 1c144a1..b06ebd4 100644
--- a/dlls/d3d8/texture.c
+++ b/dlls/d3d8/texture.c
@@ -1117,9 +1117,6 @@ HRESULT texture_init(struct d3d8_texture *texture, struct d3d8_device *device,
desc.depth = 1;
desc.size = 0;
- if (pool != D3DPOOL_DEFAULT || (usage & D3DUSAGE_DYNAMIC))
- flags |= WINED3D_TEXTURE_CREATE_MAPPABLE;
-
if (!levels)
levels = wined3d_log2i(max(width, height)) + 1;
More information about the wine-cvs
mailing list