aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/embeddedinwidgets/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/embeddedinwidgets/main.qml')
-rw-r--r--examples/quick/embeddedinwidgets/main.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/quick/embeddedinwidgets/main.qml b/examples/quick/embeddedinwidgets/main.qml
index e46f027bdb..e644a76587 100644
--- a/examples/quick/embeddedinwidgets/main.qml
+++ b/examples/quick/embeddedinwidgets/main.qml
@@ -103,7 +103,7 @@ Rectangle {
property variant source: column;
property size sourceSize: Qt.size(0.5 / column.width, 0.5 / column.height);
- fragmentShader: "
+ fragmentShader: `
varying highp vec2 qt_TexCoord0;
uniform lowp sampler2D source;
uniform lowp vec2 sourceSize;
@@ -117,6 +117,6 @@ Rectangle {
+ texture2D(source, tc + sourceSize * vec2(-1, 1))
);
gl_FragColor = col * qt_Opacity * (1.0 - qt_TexCoord0.y) * 0.2;
- }"
+ }`
}
}