d3d8: Do not specify WINED3D_TEXTURE_CREATE_MAPPABLE in texture_init().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Henri Verbeet 2018-11-12 13:13:18 +03:30 committed by Alexandre Julliard
parent 077b4391d4
commit cfebf9e260
1 changed files with 0 additions and 3 deletions

View File

@ -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;