aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtwayland/0001-examples-wayland-include-server-buffer-only-when-bui.patch
blob: 72f29534727dce2c10f7bda3be6c4bd353fd0040 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From 3c5c13f2f991cc79363969fb3873d553dd985e7b Mon Sep 17 00:00:00 2001
From: Martin Jansa <Martin.Jansa@gmail.com>
Date: Sat, 22 Feb 2014 17:47:44 +0100
Subject: [PATCH] examples/wayland: include server-buffer only when building
 with opengles2

* it's using glBindBuffer in
  server-buffer/client/serverbufferrenderer.cpp

Change-Id: I8412dfd4ebb95c147328ac6e4dfff14a0cff4e78
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 examples/wayland/wayland.pro | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/examples/wayland/wayland.pro b/examples/wayland/wayland.pro
index b67d12e..c5daad0 100644
--- a/examples/wayland/wayland.pro
+++ b/examples/wayland/wayland.pro
@@ -9,4 +9,6 @@ qtHaveModule(quick) {
     SUBDIRS += custom-extension
 }
 
-SUBDIRS += server-buffer
+contains(QT_CONFIG, opengles2) {
+    SUBDIRS += server-buffer
+}