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