mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	
		
			
	
	
		
			10 lines
		
	
	
	
		
			284 B
		
	
	
	
		
			C
		
	
	
	
	
	
		
		
			
		
	
	
			10 lines
		
	
	
	
		
			284 B
		
	
	
	
		
			C
		
	
	
	
	
	
| 
								 | 
							
								#include <wlr/render/color.h>
							 | 
						||
| 
								 | 
							
								#include <wlr/util/log.h>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								struct wlr_color_transform *wlr_color_transform_init_linear_to_icc(
							 | 
						||
| 
								 | 
							
										const void *data, size_t size) {
							 | 
						||
| 
								 | 
							
									wlr_log(WLR_ERROR, "Cannot create color transform from ICC profile: "
							 | 
						||
| 
								 | 
							
										"LCMS2 is compile-time disabled");
							 | 
						||
| 
								 | 
							
									return NULL;
							 | 
						||
| 
								 | 
							
								}
							 |