diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/types/wlr_output.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h index f42e2061..dd4b4c0f 100644 --- a/include/wlr/types/wlr_output.h +++ b/include/wlr/types/wlr_output.h @@ -63,11 +63,6 @@ enum wlr_output_state_field { WLR_OUTPUT_STATE_GAMMA_LUT = 1 << 7, }; -enum wlr_output_state_buffer_type { - WLR_OUTPUT_STATE_BUFFER_RENDER, - WLR_OUTPUT_STATE_BUFFER_SCANOUT, -}; - enum wlr_output_state_mode_type { WLR_OUTPUT_STATE_MODE_FIXED, WLR_OUTPUT_STATE_MODE_CUSTOM, @@ -85,8 +80,7 @@ struct wlr_output_state { bool adaptive_sync_enabled; // only valid if WLR_OUTPUT_STATE_BUFFER - enum wlr_output_state_buffer_type buffer_type; - struct wlr_buffer *buffer; // if WLR_OUTPUT_STATE_BUFFER_SCANOUT + struct wlr_buffer *buffer; // only valid if WLR_OUTPUT_STATE_MODE enum wlr_output_state_mode_type mode_type; |