Files
xserver/hw/xfree86/compat/timercheck.c
Enrico Weigelt, metux IT consult 7ef8400df5 xfree86: compat: re-add TimeCheck() for proprietary nvidia driver
Yet another very internal function that the proprietary Nvidia driver
is using for unknown reasons.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-10-28 16:26:44 +01:00

24 lines
511 B
C

#include <dix-config.h>
#include <X11/Xfuncproto.h>
#include "os/osdep.h"
#include "xf86_compat.h"
/*
* needed for NVidia proprietary driver 340.x versions
* force the server to see if any timer callbacks should be called
*
* this function had been obsolete and removed long ago, but NVidia folks
* still didn't do basic maintenance and fixed their driver
*/
_X_EXPORT void TimerCheck(void);
void TimerCheck(void) {
xf86NVidiaBugObsoleteFunc("TimerCheck()");
DoTimers(GetTimeInMillis());
}