summaryrefslogtreecommitdiff
path: root/multimedia/sunshine/files/patch-src_platform_linux_wlgrab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/sunshine/files/patch-src_platform_linux_wlgrab.cpp')
-rw-r--r--multimedia/sunshine/files/patch-src_platform_linux_wlgrab.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/multimedia/sunshine/files/patch-src_platform_linux_wlgrab.cpp b/multimedia/sunshine/files/patch-src_platform_linux_wlgrab.cpp
new file mode 100644
index 0000000..a7349db
--- /dev/null
+++ b/multimedia/sunshine/files/patch-src_platform_linux_wlgrab.cpp
@@ -0,0 +1,11 @@
+--- src/platform/linux/wlgrab.cpp.orig
++++ src/platform/linux/wlgrab.cpp
+@@ -418,7 +418,7 @@
+ return nullptr;
+ }
+
+- if (hwdevice_type == platf::mem_type_e::vaapi || hwdevice_type == platf::mem_type_e::cuda) {
++ if (hwdevice_type == platf::mem_type_e::vaapi) {
+ auto wlr = std::make_shared<wl::wlr_vram_t>();
+ if (wlr->init(hwdevice_type, display_name, config)) {
+ return nullptr;