mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
d3d8: Remove unused variable.
This commit is contained in:
parent
608be1715b
commit
1cd505cb81
1 changed files with 1 additions and 2 deletions
|
@ -545,13 +545,12 @@ static HRESULT WINAPI d3d8_device_CreateAdditionalSwapChain(IDirect3DDevice8 *if
|
||||||
struct d3d8_device *device = impl_from_IDirect3DDevice8(iface);
|
struct d3d8_device *device = impl_from_IDirect3DDevice8(iface);
|
||||||
struct wined3d_swapchain_desc desc;
|
struct wined3d_swapchain_desc desc;
|
||||||
struct d3d8_swapchain *object;
|
struct d3d8_swapchain *object;
|
||||||
HRESULT hr;
|
|
||||||
|
|
||||||
TRACE("iface %p, present_parameters %p, swapchain %p.\n",
|
TRACE("iface %p, present_parameters %p, swapchain %p.\n",
|
||||||
iface, present_parameters, swapchain);
|
iface, present_parameters, swapchain);
|
||||||
|
|
||||||
wined3d_swapchain_desc_from_present_parameters(&desc, present_parameters);
|
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;
|
*swapchain = &object->IDirect3DSwapChain8_iface;
|
||||||
present_parameters_from_wined3d_swapchain_desc(present_parameters, &desc);
|
present_parameters_from_wined3d_swapchain_desc(present_parameters, &desc);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue