mi: temporary workaround for intel driver

xf86-video-intel driver is the only one that hasn't been kept up-to-date
yet and still using "GC" typedef directly (instead of GCPtr), which had
been renamed by previous commits. Will be removed again, once intel
driver is fixed.

See: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1393

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-04-09 17:32:20 +02:00
parent 2fec24f44c
commit c27a090f9d

View File

@@ -29,6 +29,13 @@ from The Open Group.
#ifndef _MIGC_H
#define _MIGC_H
/* temporary workaround for intel driver. will be removed once
the drivers had been fixed not to use "GC" anymore.
see: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1393
*/
typedef GCRec GC;
extern _X_EXPORT void miChangeGC(GCPtr pGC,
unsigned long mask);