Skip to content

Commit

Permalink
Changed the wording of the exceptiopn thrown and added Vk error.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertosfield committed Aug 29, 2023
1 parent 00138ad commit 6f6e375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vsg/state/DescriptorBuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ void DescriptorBuffer::compile(Context& context)
}
else
{
throw Exception{"Error: DescriptorBuffer::compile(..) unable to allocate buffer."};
throw Exception{"Error: DescriptorBuffer::compile(..) failed to allocate buffer from deviceMemoryBufferPools.", VK_ERROR_OUT_OF_DEVICE_MEMORY};
}
}
}
Expand Down

0 comments on commit 6f6e375

Please sign in to comment.