summaryrefslogtreecommitdiff
path: root/examples/wayland
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@theqtcompany.com>2015-10-27 12:19:55 +0100
committerAndy Nichols <andy.nichols@theqtcompany.com>2015-10-27 14:59:49 +0000
commitf242587cbf3ee8ade683414aaa95158a1149db4c (patch)
tree8096e536831d31c1ed6ff86fccd928c87daee431 /examples/wayland
parent955ac0d0eeaf2f543676b649291558f4dcce37c3 (diff)
downloadqtwayland-f242587cbf3ee8ade683414aaa95158a1149db4c.tar.gz
Make qwindow-compositor build on systems without ext textures
Change-Id: I47d7f7d2cb589df8087c23eda60137e7b263f11f Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
Diffstat (limited to 'examples/wayland')
-rw-r--r--examples/wayland/qwindow-compositor/textureblitter.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/wayland/qwindow-compositor/textureblitter.cpp b/examples/wayland/qwindow-compositor/textureblitter.cpp
index c550985d..df4fa18d 100644
--- a/examples/wayland/qwindow-compositor/textureblitter.cpp
+++ b/examples/wayland/qwindow-compositor/textureblitter.cpp
@@ -44,6 +44,10 @@
#include <QtGui/QOpenGLContext>
#include <QtGui/QOpenGLFunctions>
+#ifndef GL_TEXTURE_EXTERNAL_OES
+#define GL_TEXTURE_EXTERNAL_OES 0x8D65
+#endif
+
QT_BEGIN_NAMESPACE
TextureBlitter::TextureBlitter()