Blame SOURCES/0001-backend-x11-Require-clutter-to-use-the-gl3-driver.patch

d1d875
From 239c642dc0a5789c8b557819a2c64a6a4f7696c5 Mon Sep 17 00:00:00 2001
d1d875
From: Rui Matos <tiagomatos@gmail.com>
d1d875
Date: Thu, 11 Aug 2016 15:44:30 +0200
d1d875
Subject: [PATCH] backend-x11: Require clutter to use the gl3 driver
d1d875
d1d875
The clutter version we use defaults to the classic gl driver but we
d1d875
need the gl3 driver for memory purged notifications.
d1d875
---
d1d875
 src/backends/x11/meta-backend-x11.c | 1 +
d1d875
 1 file changed, 1 insertion(+)
d1d875
d1d875
diff --git a/src/backends/x11/meta-backend-x11.c b/src/backends/x11/meta-backend-x11.c
d1d875
index ae7d8fa..f70ce5a 100644
d1d875
--- a/src/backends/x11/meta-backend-x11.c
d1d875
+++ b/src/backends/x11/meta-backend-x11.c
d1d875
@@ -705,6 +705,7 @@ meta_backend_x11_init (MetaBackendX11 *x11)
d1d875
   XInitThreads();
d1d875
   clutter_x11_enable_threaded_swap_wait ();
d1d875
 
d1d875
+  clutter_set_allowed_drivers ("gl3,gl");
d1d875
   clutter_x11_request_reset_on_video_memory_purge ();
d1d875
 
d1d875
   /* We do X11 event retrieval ourselves */
d1d875
-- 
d1d875
2.7.4
d1d875