mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 05:10:36 +00:00
dxgi: Use the correct resource type in dxgi_device_CreateSurface().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e5a7d5465b
commit
c21b51ad71
|
@ -182,7 +182,7 @@ static HRESULT STDMETHODCALLTYPE dxgi_device_CreateSurface(IWineDXGIDevice *ifac
|
|||
device_parent = IWineDXGIDeviceParent_get_wined3d_device_parent(dxgi_device_parent);
|
||||
|
||||
FIXME("Implement DXGI<->wined3d usage conversion\n");
|
||||
surface_desc.resource_type = WINED3D_RTYPE_SURFACE;
|
||||
surface_desc.resource_type = WINED3D_RTYPE_TEXTURE_2D;
|
||||
surface_desc.format = wined3dformat_from_dxgi_format(desc->Format);
|
||||
wined3d_sample_desc_from_dxgi(&surface_desc.multisample_type,
|
||||
&surface_desc.multisample_quality, &desc->SampleDesc);
|
||||
|
|
Loading…
Reference in a new issue