From 7c5b0fa4bd59bfd9f8e51eb078d415b55b47aafe Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 2 Jan 2026 17:13:59 +0100 Subject: [PATCH] drop ifdef XF86_CRTC_VERSION Signed-off-by: Enrico Weigelt, metux IT consult --- vmwgfx/vmwgfx_crtc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/vmwgfx/vmwgfx_crtc.c b/vmwgfx/vmwgfx_crtc.c index 92cd5dc..03e1ef8 100644 --- a/vmwgfx/vmwgfx_crtc.c +++ b/vmwgfx/vmwgfx_crtc.c @@ -226,12 +226,10 @@ crtc_set_mode_major(xf86CrtcPtr crtc, DisplayModePtr mode, vmwgfx_scanout_refresh(pixmap); /* Only set gamma when needed, to avoid unneeded delays. */ -#if defined(XF86_CRTC_VERSION) && XF86_CRTC_VERSION >= 3 if (!crtc->active && crtc->version >= 3) crtc->funcs->gamma_set(crtc, crtc->gamma_red, crtc->gamma_green, crtc->gamma_blue, crtc->gamma_size); crtc->active = TRUE; -#endif /* * Strictly, this needs to be done only once per configuration change,