aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/interfaces
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-12-01 16:22:42 +0100
committerSimon Ser <contact@emersion.fr>2021-06-07 15:42:38 +0200
commit1a06ea775034c12e35e13b55f84cb058a7496e40 (patch)
treed895f6d859eac39d75a47afa5f71109f51d9f187 /include/wlr/interfaces
parent233a2617cf5d0983fc6b1270e25fa5158aca9954 (diff)
output: make attach_render and rollback_render optional
If these aren't provided by the backend, allocate a swapchain for the output.
Diffstat (limited to 'include/wlr/interfaces')
-rw-r--r--include/wlr/interfaces/wlr_output.h3
1 files changed, 1 insertions, 2 deletions
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 {
/**