summaryrefslogtreecommitdiff
path: root/src/surface.c
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2022-06-21 12:22:06 +0100
committerPhil Jones <philj56@gmail.com>2022-06-21 12:22:06 +0100
commit54e90f75203bbf40ec6ac6dd09227e2c6f97cc62 (patch)
tree1f6074e47a2e0477b697bbcec2c52128bd652657 /src/surface.c
parentc0cd4cdf78886040528b16fad084a14165a16384 (diff)
Add various command line arguments.
There are too many really to use single-character args, so the next step should be a config file.
Diffstat (limited to 'src/surface.c')
-rw-r--r--src/surface.c3
1 files changed, 1 insertions, 2 deletions
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",