diff options
author | k3d3 | 2021-10-31 13:33:14 -0400 |
---|---|---|
committer | k3d3 | 2021-10-31 13:33:14 -0400 |
commit | 8f8ce25ed596b1289b1e01ea731e4afc2c315290 (patch) | |
tree | 29fb091dad65ae58141766118ebae82e0c931f93 /no-axrgb-assert.patch | |
parent | b68be6c9ef0bab9557153f8d714bce0cf7f317d6 (diff) | |
download | aur-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.patch | 12 |
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) { |