mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	wlr_scene: Initialize region32 before trying to use it
This commit is contained in:
		
							parent
							
								
									8bd7170fd9
								
							
						
					
					
						commit
						d3cb6b73a2
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1497,6 +1497,7 @@ bool wlr_scene_output_commit(struct wlr_scene_output *scene_output) {
 | 
			
		|||
	wlr_renderer_begin(renderer, output->width, output->height);
 | 
			
		||||
 | 
			
		||||
	pixman_region32_t background;
 | 
			
		||||
	pixman_region32_init(&background);
 | 
			
		||||
	pixman_region32_copy(&background, &damage);
 | 
			
		||||
 | 
			
		||||
	// Cull areas of the background that are occluded by opaque regions of
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue