mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 07:58:07 +02:00
st/xorg: Handle new DamageUnregister API which has only one argument
This fixes building against the new API in X server 1.15 Taken from xf86-video-modesetting beca4dfb0e4d11d3729214967a1fe56ee5669831 from Keith Packard
This commit is contained in:
parent
3d8f3eea52
commit
b625016802
1 changed files with 4 additions and 0 deletions
|
|
@ -62,6 +62,10 @@
|
|||
#include "libkms/libkms.h"
|
||||
#endif
|
||||
|
||||
#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,14,99,2,0)
|
||||
#define DamageUnregister(d, dd) DamageUnregister(dd)
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Functions and symbols exported to Xorg via pointers.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue