From 4379b3bb3a370406f446455eda0e69f491148beb Mon Sep 17 00:00:00 2001 From: Alexander Pavlov Date: Sat, 17 Feb 2024 19:10:12 +0300 Subject: [PATCH] Add 0008-AppImage-Adapter.cpp.patch --- .../patches/0008-AppImage-Adapter.cpp.patch | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 appimage/patches/0008-AppImage-Adapter.cpp.patch diff --git a/appimage/patches/0008-AppImage-Adapter.cpp.patch b/appimage/patches/0008-AppImage-Adapter.cpp.patch new file mode 100644 index 0000000..d08d6ec --- /dev/null +++ b/appimage/patches/0008-AppImage-Adapter.cpp.patch @@ -0,0 +1,24 @@ +--- a/SamTFE/Sources/Engine/Graphics/Adapter.cpp 2024-02-17 16:25:45.236555000 +0300 ++++ b/SamTFE/Sources/Engine/Graphics/Adapter.cpp 2024-02-17 18:49:49.526304125 +0300 +@@ -414,7 +414,8 @@ + VkResult r = vkCreateInstance(&instanceInfo, nullptr, &tempVkInstance); + if (r != VK_SUCCESS) + { +- ASSERT(FALSE); ++ CPrintF("Cannot create Vulkan instance.\n"); ++ return;; + } + + // get all physical devices +--- a/SamTSE/Sources/Engine/Graphics/Adapter.cpp 2024-02-17 16:25:45.236555000 +0300 ++++ b/SamTSE/Sources/Engine/Graphics/Adapter.cpp 2024-02-17 18:49:49.526304125 +0300 +@@ -414,7 +414,8 @@ + VkResult r = vkCreateInstance(&instanceInfo, nullptr, &tempVkInstance); + if (r != VK_SUCCESS) + { +- ASSERT(FALSE); ++ CPrintF("Cannot create Vulkan instance.\n"); ++ return;; + } + + // get all physical devices