diff options
| author | Berke Güzel <wenekar1@gmail.com> | 2026-10-13 21:23:03 +0300 |
|---|---|---|
| committer | Berke Güzel <wenekar1@gmail.com> | 2026-10-13 21:23:03 +0300 |
| commit | dd1775a9927922c14f8679ccbc4d3ca8d5917e20 (patch) | |
| tree | 3acc442bb4a3470364b74aa82ff67cb84d555c45 /tests/x11/test_tablet_native.c | |
| parent | ecb81aeea4c0c880b3a60a0dc8418c4bf2a7cf85 (diff) | |
public api refactor
Diffstat (limited to 'tests/x11/test_tablet_native.c')
| -rw-r--r-- | tests/x11/test_tablet_native.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/x11/test_tablet_native.c b/tests/x11/test_tablet_native.c index b0d1366..706a5cc 100644 --- a/tests/x11/test_tablet_native.c +++ b/tests/x11/test_tablet_native.c @@ -57,14 +57,8 @@ static int connect_tool(const char *path) static void native_draw(struct yasl_surface *surface, struct yasl_frame *frame, void *ud) { - struct yasl_frame_context context = { - .surface = surface, .size = frame->target.size, - .scale_120 = yasl_surface_geometry(surface).scale_120, - .cpu = {.pixels = frame->target.pixels, - .stride_bytes = frame->target.size.x * (int)sizeof(uint32_t)}, - .internal_handle = frame, - }; - draw(ud, surface, &context); + (void)surface; + draw(ud, surface, frame); } static void native_configure(struct yasl_surface *surface, struct yasl_geometry geometry, void *ud) |
