mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-30 00:15:58 +01:00
a53ab146fe
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
|