From dcfd1a90166820bd27b33bb744e2cd1a7f6e747a Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Mon, 12 Nov 2018 13:13:19 +0330 Subject: [PATCH] d3d8: Do not specify WINED3D_TEXTURE_CREATE_MAPPABLE in cubetexture_init(). Signed-off-by: Henri Verbeet Signed-off-by: Alexandre Julliard --- dlls/d3d8/texture.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/dlls/d3d8/texture.c b/dlls/d3d8/texture.c index b06ebd446a0..7bfca865133 100644 --- a/dlls/d3d8/texture.c +++ b/dlls/d3d8/texture.c @@ -1163,9 +1163,6 @@ HRESULT cubetexture_init(struct d3d8_texture *texture, struct d3d8_device *devic desc.depth = 1; desc.size = 0; - if (pool != D3DPOOL_DEFAULT || (usage & D3DUSAGE_DYNAMIC)) - flags |= WINED3D_TEXTURE_CREATE_MAPPABLE; - if (!levels) levels = wined3d_log2i(edge_length) + 1;