mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	This function allows backends to return the DRM FD they are using. This will allow the allocator and the renderer to use the right device.
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			124 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			124 B
		
	
	
	
		
			C
		
	
	
	
	
	
#ifndef BACKEND_H
 | 
						|
#define BACKEND_H
 | 
						|
 | 
						|
#include <wlr/backend.h>
 | 
						|
 | 
						|
int backend_get_drm_fd(struct wlr_backend *backend);
 | 
						|
 | 
						|
#endif
 |