Cleanup d3d12_heap_descriptor_alloc

This commit is contained in:
libretroadmin 2023-04-23 21:56:48 +02:00
parent cff5ea2a9b
commit 2a5c419d38

View File

@ -204,10 +204,9 @@ D3D12_CPU_DESCRIPTOR_HANDLE d3d12_descriptor_heap_slot_alloc(d3d12_descriptor_he
heap->map[i] = true;
handle.ptr = heap->cpu.ptr + i * heap->stride;
heap->start = i + 1;
return handle;
break;
}
}
/* if you get here try increasing NumDescriptors for this heap */
return handle;
}