summarylogtreecommitdiffstats
path: root/no-axrgb-assert.patch
diff options
context:
space:
mode:
authork3d32021-10-31 13:33:14 -0400
committerk3d32021-10-31 13:33:14 -0400
commit8f8ce25ed596b1289b1e01ea731e4afc2c315290 (patch)
tree29fb091dad65ae58141766118ebae82e0c931f93 /no-axrgb-assert.patch
parentb68be6c9ef0bab9557153f8d714bce0cf7f317d6 (diff)
downloadaur-8f8ce25ed596b1289b1e01ea731e4afc2c315290.tar.gz
Create patched wlroots-git without the argb8888/xrgb8888 check (for nvidia driver)
Diffstat (limited to 'no-axrgb-assert.patch')
-rw-r--r--no-axrgb-assert.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/no-axrgb-assert.patch b/no-axrgb-assert.patch
new file mode 100644
index 000000000000..edbd7da33348
--- /dev/null
+++ b/no-axrgb-assert.patch
@@ -0,0 +1,12 @@
+diff --unified --recursive --text wlroots-no-axrgb-assert-git.orig/render/wlr_renderer.c wlroots-no-axrgb-assert-git.new/render/wlr_renderer.c
+--- wlroots-no-axrgb-assert-git.orig/render/wlr_renderer.c 2021-10-31 09:12:25.561443998 -0400
++++ wlroots-no-axrgb-assert-git.new/render/wlr_renderer.c 2021-10-31 09:13:24.259093275 -0400
+@@ -227,7 +227,7 @@
+ wl_display_add_shm_format(wl_display, fmt);
+ }
+ }
+- assert(argb8888 && xrgb8888);
++ // assert(argb8888 && xrgb8888);
+
+ if (wlr_renderer_get_dmabuf_texture_formats(r) != NULL) {
+ if (wlr_renderer_get_drm_fd(r) >= 0) {