diff options
Diffstat (limited to 'tests/surface-test.c')
-rw-r--r-- | tests/surface-test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/surface-test.c b/tests/surface-test.c index 73ee23c7..e8af2ed7 100644 --- a/tests/surface-test.c +++ b/tests/surface-test.c @@ -34,6 +34,7 @@ surface_transform(void *data) float x, y; surface = weston_surface_create(compositor); + assert(surface); weston_surface_configure(surface, 100, 100, 200, 200); weston_surface_update_transform(surface); weston_surface_to_global_float(surface, 20, 20, &x, &y); |