mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-27 12:57:03 +02:00
sds
This commit is contained in:
parent
c90324f122
commit
9891725ab9
1 changed files with 2 additions and 2 deletions
|
|
@ -771,8 +771,8 @@ VkFormat Device::GetSupportedFormat(VkFormat wanted_format, VkFormatFeatureFlags
|
|||
}
|
||||
|
||||
void Device::ReportLoss() const {
|
||||
LOG_CRITICAL(Render_Vulkan, "Device loss occurred! {},{}", extensions.device_fault, properties.device_fault.deviceFault);
|
||||
if (extensions.device_fault) {
|
||||
LOG_CRITICAL(Render_Vulkan, "Device loss occurred! {},{}", extensions.device_fault, features.device_fault.deviceFault);
|
||||
if (extensions.device_fault && features.device_fault.deviceFault) {
|
||||
VkDeviceFaultCountsEXT fault_counts{
|
||||
.sType = VK_STRUCTURE_TYPE_DEVICE_FAULT_COUNTS_EXT
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue