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

d3d8: Do not specify WINED3D_TEXTURE_CREATE_MAPPABLE in cubetexture_init().

parent cfebf9e2
......@@ -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;
......
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