mirror of
https://github.com/w23/xash3d-fwgs
synced 2025-01-18 23:00:01 +01:00
vk: devmem: print number of alloc slots on overflow
This commit is contained in:
parent
05ac770c81
commit
ceb4437f8c
@ -175,7 +175,7 @@ static VkDeviceSize optimalSize(VkDeviceSize size) {
|
||||
|
||||
static int allocateDeviceMemory(VkMemoryRequirements req, int type_index, VkMemoryAllocateFlags allocate_flags) {
|
||||
if ( g_devmem.alloc_slots_count == MAX_DEVMEM_ALLOC_SLOTS ) {
|
||||
gEngine.Host_Error( "Ran out of device memory allocation slots\n" );
|
||||
gEngine.Host_Error( "Ran out of %d device memory allocation slots\n", (int)MAX_DEVMEM_ALLOC_SLOTS );
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user