From f6c34fd2fe70fde58ed54672ae31b70b71114c2f Mon Sep 17 00:00:00 2001 From: Cappy Ishihara Date: Wed, 21 Aug 2024 04:10:02 +0700 Subject: [PATCH] format patch from github --- anda/games/gamescope/1483.patch | 7 ++----- anda/games/gamescope/update-patch.sh | 3 +++ 2 files changed, 5 insertions(+), 5 deletions(-) create mode 100755 anda/games/gamescope/update-patch.sh diff --git a/anda/games/gamescope/1483.patch b/anda/games/gamescope/1483.patch index 2f0e377c2b..def6176658 100644 --- a/anda/games/gamescope/1483.patch +++ b/anda/games/gamescope/1483.patch @@ -1,4 +1,4 @@ -From 920fbf15f534ae3772807cbfaf0e6c3896441a8a Mon Sep 17 00:00:00 2001 +From 2f696dea3d637fbe20ae435bbc3bb50b36219435 Mon Sep 17 00:00:00 2001 From: Cappy Ishihara Date: Wed, 21 Aug 2024 03:56:53 +0700 Subject: [PATCH] Check if current GPU supports Vulkan DRM modifiers when @@ -12,7 +12,7 @@ GPU does not support Vulkan DRM modifiers. 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp -index 96484dc..e3e694d 100644 +index ca4001249..7c019b560 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -817,7 +817,14 @@ int main(int argc, char **argv) @@ -31,6 +31,3 @@ index 96484dc..e3e694d 100644 else if ( g_pOriginalDisplay != NULL ) eCurrentBackend = gamescope::GamescopeBackend::SDL; else --- -2.46.0 - diff --git a/anda/games/gamescope/update-patch.sh b/anda/games/gamescope/update-patch.sh new file mode 100755 index 0000000000..9238e8c5ce --- /dev/null +++ b/anda/games/gamescope/update-patch.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +curl -o ./1483.patch https://patch-diff.githubusercontent.com/raw/ValveSoftware/gamescope/pull/1483.patch \ No newline at end of file