d3d8: Do not specify WINED3D_TEXTURE_CREATE_MAPPABLE in cubetexture_init().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Henri Verbeet 2018-11-12 13:13:19 +03:30 committed by Alexandre Julliard
parent cfebf9e260
commit dcfd1a9016
1 changed files with 0 additions and 3 deletions

View File

@ -1163,9 +1163,6 @@ HRESULT cubetexture_init(struct d3d8_texture *texture, struct d3d8_device *devic
desc.depth = 1; desc.depth = 1;
desc.size = 0; desc.size = 0;
if (pool != D3DPOOL_DEFAULT || (usage & D3DUSAGE_DYNAMIC))
flags |= WINED3D_TEXTURE_CREATE_MAPPABLE;
if (!levels) if (!levels)
levels = wined3d_log2i(edge_length) + 1; levels = wined3d_log2i(edge_length) + 1;