mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-09-06 12:13:57 +00:00
sds
This commit is contained in:
@@ -795,8 +795,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
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user