mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	output: make rollback_render mandatory
If the output backend provides attach_render, assert it also provides a way to revert it via rollback_render.
This commit is contained in:
		
							parent
							
								
									bf93d2e67c
								
							
						
					
					
						commit
						3c5dbfd97c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -314,7 +314,7 @@ static void handle_display_destroy(struct wl_listener *listener, void *data) {
 | 
			
		|||
 | 
			
		||||
void wlr_output_init(struct wlr_output *output, struct wlr_backend *backend,
 | 
			
		||||
		const struct wlr_output_impl *impl, struct wl_display *display) {
 | 
			
		||||
	assert(impl->attach_render && impl->commit);
 | 
			
		||||
	assert(impl->attach_render && impl->rollback_render && impl->commit);
 | 
			
		||||
	if (impl->set_cursor || impl->move_cursor) {
 | 
			
		||||
		assert(impl->set_cursor && impl->move_cursor);
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue