Commit a9a837b0 authored by Erik Faye-Lund 's avatar Erik Faye-Lund

zink: fixup return-value

parent c9edb1e5
......@@ -236,7 +236,7 @@ zink_get_gfx_pipeline(struct zink_screen *screen,
struct pipeline_cache_entry *pc_entry = CALLOC_STRUCT(pipeline_cache_entry);
if (!pc_entry)
return NULL;
return VK_NULL_HANDLE;
memcpy(&pc_entry->state, state, sizeof(*state));
pc_entry->pipeline = pipeline;
......
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