From 3c20d33e2cca5c678a7d0806c0de4180289f1a21 Mon Sep 17 00:00:00 2001 From: dasha_uwu Date: Fri, 13 Jun 2025 04:49:51 +0500 Subject: [PATCH] randr: export RRCrtcSetTransformSupport for nvidia Signed-off-by: dasha_uwu --- randr/randrstr.h | 9 +++++++++ randr/randrstr_priv.h | 8 -------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/randr/randrstr.h b/randr/randrstr.h index 84473119a..c02593fa5 100644 --- a/randr/randrstr.h +++ b/randr/randrstr.h @@ -748,6 +748,15 @@ _X_EXPORT /* just for Nvidia legacy */ Bool RRTransformSetFilter(RRTransformPtr dst, PictFilterPtr filter, xFixed *params, int nparams, int width, int height); +/* + * Set whether transforms are allowed on a CRTC + * + * @param crtc the CRTC to set the flag on + * @param transforms TRUE if transforms are allowed + */ +_X_EXPORT /* just for Nvidia legacy */ +void RRCrtcSetTransformSupport(RRCrtcPtr crtc, Bool transforms); + #endif /* _RANDRSTR_H_ */ /* diff --git a/randr/randrstr_priv.h b/randr/randrstr_priv.h index 622d0ac77..137655d3c 100644 --- a/randr/randrstr_priv.h +++ b/randr/randrstr_priv.h @@ -173,14 +173,6 @@ CARD16 RRVerticalRefresh(xRRModeInfo * mode); */ Bool RRCrtcExists(ScreenPtr pScreen, RRCrtcPtr findCrtc); -/* - * Set whether transforms are allowed on a CRTC - * - * @param crtc the CRTC to set the flag on - * @param transforms TRUE if transforms are allowed - */ -void RRCrtcSetTransformSupport(RRCrtcPtr crtc, Bool transforms); - /* * Deliver CRTC update event to given client *