From f242587cbf3ee8ade683414aaa95158a1149db4c Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Tue, 27 Oct 2015 12:19:55 +0100 Subject: Make qwindow-compositor build on systems without ext textures Change-Id: I47d7f7d2cb589df8087c23eda60137e7b263f11f Reviewed-by: Andy Nichols --- examples/wayland/qwindow-compositor/textureblitter.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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 #include +#ifndef GL_TEXTURE_EXTERNAL_OES +#define GL_TEXTURE_EXTERNAL_OES 0x8D65 +#endif + QT_BEGIN_NAMESPACE TextureBlitter::TextureBlitter() -- cgit v1.2.1