From ad249a8e7308fdb2159dc0c925dc0d3124579451 Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Mon, 2 Nov 2020 01:04:37 +0100 Subject: [PATCH] examples: Fix typo "_Random" -> "Random" Fixes: #356 --- data/examples/shaders/transition/sliding-bars.effect | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/examples/shaders/transition/sliding-bars.effect b/data/examples/shaders/transition/sliding-bars.effect index 211a7d8a..ac8e90f7 100644 --- a/data/examples/shaders/transition/sliding-bars.effect +++ b/data/examples/shaders/transition/sliding-bars.effect @@ -161,10 +161,10 @@ float4 PSDefault(VertData vtx) : TARGET { float bar_direction = 0.; if (TransitionTime < .5 || !_49_FadeToColor) { bar_offset = -abs(noised(float2(bar_id, 0.)).x * bar_offset_max); - bar_direction = step(noised(float2(bar_id, 1.)).x, _Random[3][1]); + bar_direction = step(noised(float2(bar_id, 1.)).x, Random[3][1]); } else { bar_offset = -abs(noised(float2(bar_id, 1.)).x * bar_offset_max); - bar_direction = step(noised(float2(bar_id, 0.)).x, _Random[3][1]); + bar_direction = step(noised(float2(bar_id, 0.)).x, Random[3][1]); } if (_49_FadeToColor) {