mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	wlr_scene: Use direct assignment for damage indicator timestamps
This commit is contained in:
		
							parent
							
								
									ffb53a6103
								
							
						
					
					
						commit
						fdfdd01a79
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1230,7 +1230,7 @@ bool wlr_scene_output_commit(struct wlr_scene_output *scene_output) {
 | 
			
		|||
				pixman_region32_init(¤t_damage->region);
 | 
			
		||||
				pixman_region32_copy(¤t_damage->region,
 | 
			
		||||
					&scene_output->damage_ring.current);
 | 
			
		||||
				memcpy(¤t_damage->when, &now, sizeof(now));
 | 
			
		||||
				current_damage->when = now;
 | 
			
		||||
				wl_list_insert(regions, ¤t_damage->link);
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue