From 54e90f75203bbf40ec6ac6dd09227e2c6f97cc62 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Tue, 21 Jun 2022 12:22:06 +0100 Subject: Add various command line arguments. There are too many really to use single-character args, so the next step should be a config file. --- src/surface.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/surface.c') diff --git a/src/surface.c b/src/surface.c index 30a46cd..e7b2ac1 100644 --- a/src/surface.c +++ b/src/surface.c @@ -12,7 +12,6 @@ void surface_init( struct surface *surface, struct wl_shm *wl_shm) { - const int height = surface->height; const int stride = surface->stride; @@ -42,7 +41,7 @@ void surface_init( surface->width, surface->height, surface->stride, - WL_SHM_FORMAT_XRGB8888); + WL_SHM_FORMAT_ARGB8888); } log_debug("Created shm file with size %d KiB.\n", -- cgit v1.2.3