gimp but for windows: a wayland compositor
git clone https://github.com/m-col/wimp
Files | Refs | Readme

Commit 5dc4d9c277bc4ba146ac395fb79a858d1a8a7e2a
Parent: e2c2b84258cb437359d23be220f41160e5eba435
Author: mcol <mcol@posteo.net>
Date: 2021-04-23 00:46:52 +0100
Committer: mcol <mcol@posteo.net>
Committed: 2021-04-23 00:46:52 +0100

Use DRM_FORMAT for texture pixel format

src/config.c Modified

@@ -1,4 +1,5 @@
 #include <cairo/cairo.h>
+#include <drm_fourcc.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -68,7 +69,7 @@
     cairo_paint(cr);
 
     wallpaper->texture = wlr_texture_from_pixels(
-	wimp.renderer, WL_SHM_FORMAT_ARGB8888, stride, wallpaper->width,
+	wimp.renderer, DRM_FORMAT_ARGB8888, stride, wallpaper->width,
 	wallpaper->height, cairo_image_surface_get_data(canvas)
     );
     desk->wallpaper = wallpaper;