Use new format codes
diff --git a/clients/simple-touch.c b/clients/simple-touch.c
index e80a00e..c1a0899 100644
--- a/clients/simple-touch.c
+++ b/clients/simple-touch.c
@@ -79,7 +79,7 @@
touch->buffer =
wl_shm_create_buffer(touch->shm, fd,
touch->width, touch->height, stride,
- WL_SHM_FORMAT_PREMULTIPLIED_ARGB32);
+ WL_SHM_FORMAT_ARGB8888);
close(fd);
}
@@ -89,7 +89,7 @@
{
struct touch *touch = data;
- if (format == WL_SHM_FORMAT_PREMULTIPLIED_ARGB32)
+ if (format == WL_SHM_FORMAT_ARGB8888)
touch->has_argb = 1;
}