Commit 5fb02813 authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

d3d11: Rename d3d10_device_init() to d3d_device_init().

parent 934e4d18
...@@ -88,7 +88,7 @@ static HRESULT WINAPI layer_create(enum dxgi_device_layer_id id, void **layer_ba ...@@ -88,7 +88,7 @@ static HRESULT WINAPI layer_create(enum dxgi_device_layer_id id, void **layer_ba
} }
object = *layer_base; object = *layer_base;
if (FAILED(hr = d3d10_device_init(object, device_object))) if (FAILED(hr = d3d_device_init(object, device_object)))
{ {
WARN("Failed to initialize device, hr %#x.\n", hr); WARN("Failed to initialize device, hr %#x.\n", hr);
*device_layer = NULL; *device_layer = NULL;
......
...@@ -392,7 +392,7 @@ static inline struct d3d_device *impl_from_ID3D10Device(ID3D10Device1 *iface) ...@@ -392,7 +392,7 @@ static inline struct d3d_device *impl_from_ID3D10Device(ID3D10Device1 *iface)
return CONTAINING_RECORD(iface, struct d3d_device, ID3D10Device1_iface); return CONTAINING_RECORD(iface, struct d3d_device, ID3D10Device1_iface);
} }
HRESULT d3d10_device_init(struct d3d_device *device, void *outer_unknown) DECLSPEC_HIDDEN; HRESULT d3d_device_init(struct d3d_device *device, void *outer_unknown) DECLSPEC_HIDDEN;
/* Layered device */ /* Layered device */
enum dxgi_device_layer_id enum dxgi_device_layer_id
......
...@@ -3123,7 +3123,7 @@ static const struct wine_rb_functions d3d_rasterizer_state_rb_ops = ...@@ -3123,7 +3123,7 @@ static const struct wine_rb_functions d3d_rasterizer_state_rb_ops =
d3d_rasterizer_state_compare, d3d_rasterizer_state_compare,
}; };
HRESULT d3d10_device_init(struct d3d_device *device, void *outer_unknown) HRESULT d3d_device_init(struct d3d_device *device, void *outer_unknown)
{ {
device->IUnknown_inner.lpVtbl = &d3d10_device_inner_unknown_vtbl; device->IUnknown_inner.lpVtbl = &d3d10_device_inner_unknown_vtbl;
device->ID3D11Device_iface.lpVtbl = &d3d11_device_vtbl; device->ID3D11Device_iface.lpVtbl = &d3d11_device_vtbl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment