Fixing a bug introduced with skipIntro

This commit is contained in:
Rezmason
2022-09-24 21:39:05 -07:00
parent e76c9cf7be
commit f07bf7bceb
2 changed files with 2 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ float wobble(float x) {
vec4 computeResult(float simTime, bool isFirstFrame, vec2 glyphPos, vec2 screenPos, vec4 previous) {
if (skipIntro) {
return vec4(1., 0., 0., 0.);
return vec4(2., 0., 0., 0.);
}
float columnTimeOffset;

View File

@@ -218,7 +218,7 @@ fn getRipple(simTime : f32, screenPos : vec2<f32>) -> f32 {
fn computeIntro (simTime : f32, isFirstFrame : bool, glyphPos : vec2<f32>, screenPos : vec2<f32>, previous : vec4<f32>) -> vec4<f32> {
if (bool(config.skipIntro)) {
return vec4<f32>(1.0, 0.0, 0.0, 0.0);
return vec4<f32>(2.0, 0.0, 0.0, 0.0);
}
var columnTimeOffset = 0.0;