mirror of
https://github.com/X11Libre/xf86-video-vmware.git
synced 2026-03-24 01:24:37 +00:00
drop compat for ancient xserver versions
We're relying on at least 1.18 now. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -66,12 +66,6 @@
|
||||
#ifndef _X_EXPORT
|
||||
#define _X_EXPORT
|
||||
#endif
|
||||
/*
|
||||
* So that the file compiles unmodified when dropped into an xfree source tree.
|
||||
*/
|
||||
#ifndef XORG_VERSION_CURRENT
|
||||
#define XORG_VERSION_CURRENT XF86_VERSION_CURRENT
|
||||
#endif
|
||||
|
||||
/*
|
||||
* This is the only way I know to turn a #define of an integer constant into
|
||||
|
||||
@@ -77,11 +77,7 @@ vmwgfx_pixmap_remove_damage(PixmapPtr pixmap)
|
||||
if (!spix->damage || vpix->hw || vpix->gmr || vpix->malloc)
|
||||
return;
|
||||
|
||||
#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,14,99,2,0)
|
||||
DamageUnregister(spix->damage);
|
||||
#else
|
||||
DamageUnregister(&pixmap->drawable, spix->damage);
|
||||
#endif
|
||||
|
||||
DamageDestroy(spix->damage);
|
||||
spix->damage = NULL;
|
||||
|
||||
Reference in New Issue
Block a user