diff options
Diffstat (limited to 'examples/opengl/hellogl2/main.cpp')
-rw-r--r-- | examples/opengl/hellogl2/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/opengl/hellogl2/main.cpp b/examples/opengl/hellogl2/main.cpp index 6ecd4cfe1a0..a355d992840 100644 --- a/examples/opengl/hellogl2/main.cpp +++ b/examples/opengl/hellogl2/main.cpp @@ -42,6 +42,7 @@ int main(int argc, char *argv[]) MainWindow mainWindow; + // Note: Transparency does not work for wasm GLWidget::setTransparent(parser.isSet(transparentOption)); if (GLWidget::isTransparent()) { mainWindow.setAttribute(Qt::WA_TranslucentBackground); |