Skip to content

Commit

Permalink
fix non-trivial designated initializer for gcc 7.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
felixdoerre committed Jan 22, 2019
1 parent 57e9da6 commit f00873e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion primus_vk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ VK_LAYER_EXPORT VkResult VKAPI_CALL PrimusVK_CreateInstance(
scoped_lock l(global_lock);

instance_dispatch[GetKey(*pInstance)] = dispatchTable;
instance_info[GetKey(*pInstance)] = InstanceInfo{.instance = *pInstance, .render = render, .display=display, .secondarySpawned = false};
instance_info[GetKey(*pInstance)] = InstanceInfo{.instance = *pInstance, .render = render, .display=display, .cod=nullptr, .secondarySpawned = false};
}

return VK_SUCCESS;
Expand Down

0 comments on commit f00873e

Please sign in to comment.