mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	build: fix enabled GBM when allocators=auto and auto_features=disabled
This commit is contained in:
		
							parent
							
								
									517ea218c6
								
							
						
					
					
						commit
						e26c3a02df
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
allocators = get_option('allocators')
 | 
			
		||||
if 'auto' in allocators and get_option('auto_features').enabled()
 | 
			
		||||
	allocators = ['gbm']
 | 
			
		||||
elif 'auto' in renderers and get_option('auto_features').disabled()
 | 
			
		||||
elif 'auto' in allocators and get_option('auto_features').disabled()
 | 
			
		||||
	allocators = []
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue