d3d9: 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>
This commit is contained in:
parent
ee02007967
commit
ee4c5bb3e3
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue