Commit cfebf9e2 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d3d8: Do not specify WINED3D_TEXTURE_CREATE_MAPPABLE in texture_init().

parent 077b4391
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment