d3d10core: Remove a superfluous pointer cast.
This commit is contained in:
parent
5d875906c1
commit
3dbe0f9a82
|
@ -80,7 +80,7 @@ static HRESULT WINAPI layer_create(enum dxgi_device_layer_id id, void **layer_ba
|
|||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
object = (struct d3d10_device *)*layer_base;
|
||||
object = *layer_base;
|
||||
|
||||
object->vtbl = &d3d10_device_vtbl;
|
||||
object->inner_unknown_vtbl = &d3d10_device_inner_unknown_vtbl;
|
||||
|
|
Loading…
Reference in New Issue