18 Aug
2023
18 Aug
'23
3:03 p.m.
Giovanni Mascellani (@giomasce) commented about libs/vkd3d/command.c:
static void d3d12_command_allocator_remove_command_list(struct d3d12_command_allocator *allocator, const struct d3d12_command_list *list) { - if (allocator->current_command_list == list) + if (allocator && allocator->current_command_list == list) That's preexisting, but is there a legitimate situation in which `allocator->current_command_list` and `list` can differ? Would it make sense to emit a warning in that case?
-- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/294#note_42747