sna/dri2: Flag APPLY_DAMAGE for stable distros

commit d1bf75f155
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Jun 1 08:56:43 2015 +0000

    sna: Compilation fixes for stable distros

set the flag incorrectly - only future Xorg will do the damage
application itself.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2015-06-05 12:44:50 +01:00
parent 7d30ccea21
commit 7398cc4801
1 changed files with 1 additions and 1 deletions

View File

@ -328,7 +328,7 @@ inline static DRI2BufferPtr dri2_window_get_front(WindowPtr win)
}
#else
inline static void *dri2_window_get_front(WindowPtr win) { return NULL; }
#define APPLY_DAMAGE 0
#define APPLY_DAMAGE 1
#endif
#if DRI2INFOREC_VERSION < 6