diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-10-27 12:19:55 +0100 |
---|---|---|
committer | Andy Nichols <andy.nichols@theqtcompany.com> | 2015-10-27 14:59:49 +0000 |
commit | f242587cbf3ee8ade683414aaa95158a1149db4c (patch) | |
tree | 8096e536831d31c1ed6ff86fccd928c87daee431 /examples/wayland | |
parent | 955ac0d0eeaf2f543676b649291558f4dcce37c3 (diff) | |
download | qtwayland-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.cpp | 4 |
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() |