summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2020-04-07 03:00:32 +0200
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2020-04-07 03:00:33 +0200
commit57e31dd17cbf22e8bdebc5e4a537dd3d632936f7 (patch)
tree39bfec09e31f0069f12916c4adf65f8c18784c6f
parente2d2d7e06ae4d054d75738038645126bce9092ad (diff)
parent1d18591d9e7ed9b3580e06c37be23bfde24bc30c (diff)
Merge remote-tracking branch 'origin/5.14' into 5.15v5.15.0-beta4
-rw-r--r--examples/wayland/texture-sharing/custom-compositor/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/wayland/texture-sharing/custom-compositor/main.cpp b/examples/wayland/texture-sharing/custom-compositor/main.cpp
index a39c8c38..af375024 100644
--- a/examples/wayland/texture-sharing/custom-compositor/main.cpp
+++ b/examples/wayland/texture-sharing/custom-compositor/main.cpp
@@ -63,6 +63,10 @@
#include "QtWaylandCompositor/private/qwltexturesharingextension_p.h"
+#ifndef GL_RGBA8
+#define GL_RGBA8 0x8058
+#endif
+
class CustomSharingExtension : public QWaylandTextureSharingExtension
{
Q_OBJECT