mirror of
https://github.com/flightlessmango/MangoHud.git
synced 2024-11-11 19:10:55 +00:00
c093f9823e
Using plain `open` as `drmOpen` needs bus id check which needs interface 1.4 ioctl which gives EPERM cause only DRM_MASTER can call it :( https://github.com/clbr/radeontop/issues/48#issuecomment-493792404
6 lines
115 B
C
6 lines
115 B
C
#pragma once
|
|
#include <libdrm/drm.h>
|
|
|
|
bool authenticate_drm_xcb(drm_magic_t magic);
|
|
bool authenticate_drm(int fd);
|