mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-06-06 01:13:45 -04: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 {
|
void Device::ReportLoss() const {
|
||||||
LOG_CRITICAL(Render_Vulkan, "Device loss occurred! {},{}", extensions.device_fault, properties.device_fault.deviceFault);
|
LOG_CRITICAL(Render_Vulkan, "Device loss occurred! {},{}", extensions.device_fault, features.device_fault.deviceFault);
|
||||||
if (extensions.device_fault) {
|
if (extensions.device_fault && features.device_fault.deviceFault) {
|
||||||
VkDeviceFaultCountsEXT fault_counts{
|
VkDeviceFaultCountsEXT fault_counts{
|
||||||
.sType = VK_STRUCTURE_TYPE_DEVICE_FAULT_COUNTS_EXT
|
.sType = VK_STRUCTURE_TYPE_DEVICE_FAULT_COUNTS_EXT
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue