mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-27 07:05:59 +01:00
0e57effd38
Use the CVT algorithm to create a drmModeModeInfo.
13 lines
290 B
C
13 lines
290 B
C
#ifndef BACKEND_DRM_CVT_H
|
|
#define BACKEND_DRM_CVT_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
#include <stdio.h>
|
|
#include <xf86drmMode.h>
|
|
|
|
void generate_cvt_mode(drmModeModeInfo *mode, int hdisplay, int vdisplay,
|
|
float vrefresh, bool reduced, bool interlaced);
|
|
|
|
#endif
|