Vulkan: Fix compile error on glibc 2.43 (#1870)
Some checks failed
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled

This commit is contained in:
Sapphire
2026-04-11 22:16:07 -05:00
committed by GitHub
parent 391478b307
commit 7e5516f94d

View File

@@ -343,7 +343,9 @@ void VulkanRenderer::GetDeviceFeatures()
int BreathOfTheWildChildProcessMain()
{
InitializeGlobalVulkan();
struct sigaction sa{.sa_handler = [](int unused){_exit(1);}};
struct sigaction sa{};
sa.sa_handler = [](int unused) { _exit(1); };
int ret = sigaction(SIGABRT, &sa, nullptr);
freopen("/dev/null", "w", stderr);