From 1a06ea775034c12e35e13b55f84cb058a7496e40 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 1 Dec 2020 16:22:42 +0100 Subject: output: make attach_render and rollback_render optional If these aren't provided by the backend, allocate a swapchain for the output. --- include/wlr/interfaces/wlr_output.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/wlr/interfaces') diff --git a/include/wlr/interfaces/wlr_output.h b/include/wlr/interfaces/wlr_output.h index c74ea156..a727da61 100644 --- a/include/wlr/interfaces/wlr_output.h +++ b/include/wlr/interfaces/wlr_output.h @@ -17,8 +17,7 @@ /** * A backend implementation of wlr_output. * - * The functions commit, attach_render and rollback_render are mandatory. Other - * functions are optional. + * The commit function is mandatory. Other functions are optional. */ struct wlr_output_impl { /** -- cgit v1.2.3