Aug. 18, 2023
10:03 a.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