mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-12 16:35:58 +01:00
backend/drm: rotation is a plane property
"rotation" is a plane property, it's not a CRTC property. It was also missing from plane_info.
This commit is contained in:
parent
d2329ac07a
commit
2649600fa1
2 changed files with 1 additions and 2 deletions
|
@ -35,7 +35,6 @@ static const struct prop_info crtc_info[] = {
|
|||
{ "GAMMA_LUT_SIZE", INDEX(gamma_lut_size) },
|
||||
{ "MODE_ID", INDEX(mode_id) },
|
||||
{ "VRR_ENABLED", INDEX(vrr_enabled) },
|
||||
{ "rotation", INDEX(rotation) },
|
||||
{ "scaling mode", INDEX(scaling_mode) },
|
||||
#undef INDEX
|
||||
};
|
||||
|
@ -53,6 +52,7 @@ static const struct prop_info plane_info[] = {
|
|||
{ "SRC_W", INDEX(src_w) },
|
||||
{ "SRC_X", INDEX(src_x) },
|
||||
{ "SRC_Y", INDEX(src_y) },
|
||||
{ "rotation", INDEX(rotation) },
|
||||
{ "type", INDEX(type) },
|
||||
#undef INDEX
|
||||
};
|
||||
|
|
|
@ -28,7 +28,6 @@ union wlr_drm_connector_props {
|
|||
union wlr_drm_crtc_props {
|
||||
struct {
|
||||
// Neither of these are guaranteed to exist
|
||||
uint32_t rotation;
|
||||
uint32_t scaling_mode;
|
||||
uint32_t vrr_enabled;
|
||||
uint32_t gamma_lut;
|
||||
|
|
Loading…
Reference in a new issue