Skip to content
Snippets Groups Projects
Commit ee4c5bb3 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard
Browse files

d3d9: Do not specify WINED3D_TEXTURE_CREATE_MAPPABLE in texture_init().

parent ee020079
No related branches found
No related tags found
No related merge requests found
......@@ -1321,9 +1321,6 @@ HRESULT texture_init(struct d3d9_texture *texture, struct d3d9_device *device,
desc.depth = 1;
desc.size = 0;
if (pool != D3DPOOL_DEFAULT || (usage & D3DUSAGE_DYNAMIC))
flags |= WINED3D_TEXTURE_CREATE_MAPPABLE;
if (is_gdi_compat_wined3dformat(desc.format))
flags |= WINED3D_TEXTURE_CREATE_GET_DC;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment