From 39240a81e0ddbdcfe38d94bde2bd3a6ac6b30c83 Mon Sep 17 00:00:00 2001 From: aavit Date: Wed, 12 Feb 2014 14:31:14 +0100 Subject: fix glsl syntax in graphical effects demo On BBB/eLinux, the Dissolve effect would fail to compile at runtime. Change-Id: Ib9c1383d1543dd8c759634b79eabe4489d7b4868 Reviewed-by: Andy Nichols --- basicsuite/graphicaleffects/effect_CustomDissolve.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'basicsuite') diff --git a/basicsuite/graphicaleffects/effect_CustomDissolve.qml b/basicsuite/graphicaleffects/effect_CustomDissolve.qml index ec1926c..a7c4522 100644 --- a/basicsuite/graphicaleffects/effect_CustomDissolve.qml +++ b/basicsuite/graphicaleffects/effect_CustomDissolve.qml @@ -147,7 +147,7 @@ Item { varying lowp float vOpacity; // Noise function from: http://stackoverflow.com/questions/4200224/random-noise-functions-for-glsl - highp float rand(vec2 n) { + highp float rand(highp vec2 n) { return fract(sin(dot(n.xy, vec2(12.9898, 78.233))) * 43758.5453); } -- cgit v1.2.3