summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2020-04-27 08:51:53 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-04-29 13:53:45 +0200
commit8838a471732e4c33fec309e6659e7ef93d7fb7d0 (patch)
tree5419e70d628ebb1bd0efd8e2ceff7658ddf80385 /examples
parentcd21404f99b486ff62225699e1a4bdc0d5b3d5c1 (diff)
parent6319bc72e2dc63175ca797ee3042955f852e008f (diff)
Merge "Merge remote-tracking branch 'origin/5.15' into dev"
Diffstat (limited to 'examples')
-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 a39c8c381..af3750247 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