summaryrefslogtreecommitdiff
path: root/tests/kms_setmode.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/kms_setmode.c')
-rw-r--r--tests/kms_setmode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_setmode.c b/tests/kms_setmode.c
index 802a9c3d..92f3ead2 100644
--- a/tests/kms_setmode.c
+++ b/tests/kms_setmode.c
@@ -161,7 +161,7 @@ static int paint_fb(struct igt_fb *fb, const char *test_name,
crtc_str[i]);
}
- igt_put_cairo_ctx(drm_fd, fb, cr);
+ igt_put_cairo_ctx(cr);
return 0;
}