summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2015-12-13 16:57:57 +0000
committerSean Harmer <sean.harmer@kdab.com>2015-12-15 07:40:17 +0000
commitde6352ee937fe84f51c86a834c77e485eaa787b6 (patch)
tree900968dc2b5044f229974d2e02e27f40bb21225d
parent43d932cbb3466dfd30870ed2a661d424401c2992 (diff)
Fix shader compiler error (uniform and out variables with same name)
Change-Id: I991b22bf52f3523762df25ce7d5d7e8a0f08a2a2 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
-rw-r--r--src/quick/scenegraph/shaders/rendernode_core.frag4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/scenegraph/shaders/rendernode_core.frag b/src/quick/scenegraph/shaders/rendernode_core.frag
index 7c187265df..b29301b058 100644
--- a/src/quick/scenegraph/shaders/rendernode_core.frag
+++ b/src/quick/scenegraph/shaders/rendernode_core.frag
@@ -4,9 +4,9 @@ uniform sampler2D tex;
in vec2 t;
-out vec4 color;
+out vec4 fragColor;
void main()
{
fragColor = texture(tex, t);
-} \ No newline at end of file
+}