aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/SourceProxyTest.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/SourceProxyTest.qml')
-rw-r--r--tests/manual/SourceProxyTest.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/SourceProxyTest.qml b/tests/manual/SourceProxyTest.qml
index 94c948d..5ba74e7 100644
--- a/tests/manual/SourceProxyTest.qml
+++ b/tests/manual/SourceProxyTest.qml
@@ -91,7 +91,7 @@ Rectangle {
SourceProxy {
id: proxy
- input: sourcing == "shadersource" ? shaderSource : text;
+ input: sourcing == "shadersource" ? shaderSource : (root.sourcing == "layered" ? text : null);
visible: false
sourceRect: proxyPadding ? Qt.rect(-1, -1, text.width, text.height) : Qt.rect(0, 0, 0, 0);
}