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:
parent
a387c9284a
commit
d52f280bd7
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue