File n_sna-Assume-working-triple-buffer-to-fix-screen-refre.patch of Package xf86-video-intel.458

From c137aaf6a0626b2c75f79c930ae44163fb6f2934 Mon Sep 17 00:00:00 2001
From: Stefan Dirsch <sndirsch@suse.de>
Date: Wed, 6 Aug 2014 10:25:21 +0200
Subject: [PATCH] sna: Assume working triple buffer to fix screen refresh

Assume working triple buffer since we applied the fix included with
1.15.99.904 to our xorg-server 1.15.2 (bnc#890194).

Signed-off-by: Stefan Dirsch <sndirsch@suse.de>
---
 src/sna/sna_dri2.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/sna/sna_dri2.c b/src/sna/sna_dri2.c
index 83c6040..807dcb6 100644
--- a/src/sna/sna_dri2.c
+++ b/src/sna/sna_dri2.c
@@ -254,7 +254,10 @@ inline static void *dri2_window_get_front(WindowPtr win) { return NULL; }
 
 #else
 
-#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,15,99,904,0)
+/* Assume working triple buffer since we applied the fix included with
+ * 1.15.99.904 to our xorg-server 1.15.2 (bnc#890194) 
+ */
+#if 1
 #define xorg_can_triple_buffer(ptr) 1
 #else
 inline static bool xorg_can_triple_buffer(struct sna *sna)
-- 
1.8.4.5

openSUSE Build Service is sponsored by