diff options
author | Liang Qi <liang.qi@qt.io> | 2020-04-27 08:51:53 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-04-29 13:53:45 +0200 |
commit | 8838a471732e4c33fec309e6659e7ef93d7fb7d0 (patch) | |
tree | 5419e70d628ebb1bd0efd8e2ceff7658ddf80385 /examples/wayland | |
parent | cd21404f99b486ff62225699e1a4bdc0d5b3d5c1 (diff) | |
parent | 6319bc72e2dc63175ca797ee3042955f852e008f (diff) | |
download | qtwayland-8838a471732e4c33fec309e6659e7ef93d7fb7d0.tar.gz |
Merge "Merge remote-tracking branch 'origin/5.15' into dev"
Diffstat (limited to 'examples/wayland')
-rw-r--r-- | examples/wayland/texture-sharing/custom-compositor/main.cpp | 4 |
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 |