mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
d3d8: Don't mask out internal wined3d usage flags in surface_init().
This commit is contained in:
parent
0e681027a2
commit
7475944454
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ HRESULT surface_init(struct d3d8_surface *surface, struct d3d8_device *device, U
|
|||
|
||||
wined3d_mutex_lock();
|
||||
hr = wined3d_surface_create(device->wined3d_device, width, height, wined3dformat_from_d3dformat(format),
|
||||
usage & WINED3DUSAGE_MASK, (enum wined3d_pool)pool, multisample_type, multisample_quality,
|
||||
usage, (enum wined3d_pool)pool, multisample_type, multisample_quality,
|
||||
flags, surface, &d3d8_surface_wined3d_parent_ops, &surface->wined3d_surface);
|
||||
wined3d_mutex_unlock();
|
||||
if (FAILED(hr))
|
||||
|
|
Loading…
Reference in a new issue