summaryrefslogtreecommitdiff
path: root/tests/x11/test_tablet_native.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/x11/test_tablet_native.c')
-rw-r--r--tests/x11/test_tablet_native.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/x11/test_tablet_native.c b/tests/x11/test_tablet_native.c
index bbe39f2..8d44232 100644
--- a/tests/x11/test_tablet_native.c
+++ b/tests/x11/test_tablet_native.c
@@ -140,7 +140,7 @@ int main(int argc, char **argv)
{
assert(argc == 3); /* pen socket, eraser socket */
struct canvas_state app = {0};
- assert(yasl_init(YASL_BACKEND_X11, NULL) == 0);
+ assert(yasl_init(&(struct yasl_options){.backend = YASL_BACKEND_X11}) == 0);
yasl_surface *surface = yasl_surface_create(&(struct yasl_surface_options){.title="YASL native pressure test", .width=500, .height=400});
assert(surface && (yasl_get_features() & YASL_FEATURE_TABLET));
struct yasl_native native;