d3d8: Remove unused variable.
This commit is contained in:
parent
608be1715b
commit
1cd505cb81
|
@ -545,13 +545,12 @@ static HRESULT WINAPI d3d8_device_CreateAdditionalSwapChain(IDirect3DDevice8 *if
|
|||
struct d3d8_device *device = impl_from_IDirect3DDevice8(iface);
|
||||
struct wined3d_swapchain_desc desc;
|
||||
struct d3d8_swapchain *object;
|
||||
HRESULT hr;
|
||||
|
||||
TRACE("iface %p, present_parameters %p, swapchain %p.\n",
|
||||
iface, present_parameters, swapchain);
|
||||
|
||||
wined3d_swapchain_desc_from_present_parameters(&desc, present_parameters);
|
||||
if (SUCCEEDED(hr = d3d8_swapchain_create(device, &desc, &object)))
|
||||
if (SUCCEEDED(d3d8_swapchain_create(device, &desc, &object)))
|
||||
*swapchain = &object->IDirect3DSwapChain8_iface;
|
||||
present_parameters_from_wined3d_swapchain_desc(present_parameters, &desc);
|
||||
|
||||
|
|
Loading…
Reference in New Issue