libs/vkd3d: Command allocator can be used with one command list at a time.

This commit is contained in:
Józef Kucia
2016-10-20 16:38:04 +02:00
parent 384bb26ea5
commit 2189859532
2 changed files with 18 additions and 3 deletions

View File

@@ -549,8 +549,8 @@ static HRESULT d3d12_command_allocator_allocate_command_buffer(struct d3d12_comm
if (allocator->current_command_list)
{
FIXME("Allocation for multiple command list not supported.\n");
return E_NOTIMPL;
WARN("Command allocator is already in use.\n");
return E_INVALIDARG;
}
command_buffer_info.sType = VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO;