d3d11: Rename d3d10_device_init() to d3d_device_init().
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
This commit is contained in:
parent
934e4d1852
commit
5fb0281399
|
@ -88,7 +88,7 @@ static HRESULT WINAPI layer_create(enum dxgi_device_layer_id id, void **layer_ba
|
|||
}
|
||||
|
||||
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);
|
||||
*device_layer = NULL;
|
||||
|
|
|
@ -392,7 +392,7 @@ static inline struct d3d_device *impl_from_ID3D10Device(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 */
|
||||
enum dxgi_device_layer_id
|
||||
|
|
|
@ -3123,7 +3123,7 @@ static const struct wine_rb_functions d3d_rasterizer_state_rb_ops =
|
|||
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->ID3D11Device_iface.lpVtbl = &d3d11_device_vtbl;
|
||||
|
|
Loading…
Reference in New Issue