summaryrefslogtreecommitdiff
path: root/src/surface.c
diff options
context:
space:
mode:
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",