layer: Fix messagebox error

This commit is contained in:
Joshua Ashton 2023-09-29 15:50:16 +01:00
parent 051be1e8f5
commit 296e790470

View file

@ -836,7 +836,7 @@ namespace GamescopeWSILayer {
if (!s_warned) { if (!s_warned) {
int messageId = -1; int messageId = -1;
messagey::ShowSimple( messagey::ShowSimple(
"CreateSwapchainKHR: Attempting to QueuePresent on a non-hooked swapchain.\nHooking has failed somewhere!\nYou may have a bad Vulkan layer interfering.\nPress OK to try to power through this error, or Cancel to stop.", "QueuePresentKHR: Attempting to present to a non-hooked swapchain.\nHooking has failed somewhere!\nYou may have a bad Vulkan layer interfering.\nPress OK to try to power through this error, or Cancel to stop.",
"Gamescope WSI Layer Error", "Gamescope WSI Layer Error",
messagey::MessageBoxFlag::Warning | messagey::MessageBoxFlag::Simple_Cancel | messagey::MessageBoxFlag::Simple_OK, messagey::MessageBoxFlag::Warning | messagey::MessageBoxFlag::Simple_Cancel | messagey::MessageBoxFlag::Simple_OK,
&messageId); &messageId);