mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	compositor: fix wlr_surface_has_buffer() doc comment
The function does not check whether the upload succeeded: it does not check the wlr_client_buffer.
This commit is contained in:
		
							parent
							
								
									66b6c349e7
								
							
						
					
					
						commit
						43734f7c62
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -278,8 +278,8 @@ void wlr_surface_unmap(struct wlr_surface *surface);
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * Whether or not this surface currently has an attached buffer. A surface has
 | 
					 * Whether or not this surface currently has an attached buffer. A surface has
 | 
				
			||||||
 * an attached buffer when it commits with a non-null buffer in its pending
 | 
					 * an attached buffer when it commits with a non-null buffer in its pending
 | 
				
			||||||
 * state. A surface will not have a buffer if it has never committed one, has
 | 
					 * state. A surface will not have a buffer if it has never committed one or has
 | 
				
			||||||
 * committed a null buffer, or something went wrong with uploading the buffer.
 | 
					 * committed a null buffer.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
bool wlr_surface_has_buffer(struct wlr_surface *surface);
 | 
					bool wlr_surface_has_buffer(struct wlr_surface *surface);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue