Skip to content

Commit

Permalink
dri3.patch: return true on dri3_compatble
Browse files Browse the repository at this point in the history
  • Loading branch information
MastaG committed Aug 22, 2024
1 parent a71e7ee commit 35e8c9e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions turnip-patches/dri3.patch
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,10 @@ index 9835f8f990b..ba73f679cf9 100644

static VkResult
diff --git a/src/vulkan/wsi/wsi_common_x11.c b/src/vulkan/wsi/wsi_common_x11.c
index 0c0c489d893..a0b15205779 100644
index 0c0c489d893..41eb565d0d1 100644
--- a/src/vulkan/wsi/wsi_common_x11.c
+++ b/src/vulkan/wsi/wsi_common_x11.c
@@ -149,21 +149,6 @@ static bool
@@ -149,22 +149,7 @@ static bool
wsi_x11_check_dri3_compatible(const struct wsi_device *wsi_dev,
xcb_connection_t *conn)
{
Expand All @@ -250,9 +250,11 @@ index 0c0c489d893..a0b15205779 100644
-
- close(dri3_fd);
-
return match;
- return match;
+ return true;
}

static bool
@@ -1402,7 +1387,6 @@ x11_present_to_x11_dri3(struct x11_swapchain *chain, uint32_t image_index,
options |= XCB_PRESENT_OPTION_SUBOPTIMAL;
#endif
Expand Down

0 comments on commit 35e8c9e

Please sign in to comment.