Skip to content

Commit

Permalink
Add 0008-AppImage-Adapter.cpp.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
tx00100xt committed Feb 17, 2024
1 parent 6af7fc3 commit 4379b3b
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions appimage/patches/0008-AppImage-Adapter.cpp.patch
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4379b3b

Please sign in to comment.