dzn: Fixes incompatible pointer type error

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Acked-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16084>
This commit is contained in:
Yonggang Luo 2022-06-15 11:00:14 +08:00 committed by Marge Bot
parent a387c9284a
commit d52f280bd7
1 changed files with 1 additions and 1 deletions

View File

@ -1377,7 +1377,7 @@ dzn_graphics_pipeline_get_state(struct dzn_graphics_pipeline *pipeline,
HRESULT hres = ID3D12Device2_CreatePipelineState(device->dev, &stream_desc,
&IID_ID3D12PipelineState,
&variant->state);
(void**)(&variant->state));
assert(!FAILED(hres));
he = _mesa_hash_table_insert(pipeline->variants, &variant->key, variant);
assert(he);