Skip to content

Commit

Permalink
Don't set version pixel twice
Browse files Browse the repository at this point in the history
  • Loading branch information
pema99 committed Oct 8, 2023
1 parent 0009deb commit e585268
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Packages/com.llealloo.audiolink/Runtime/Scripts/AudioLink.cs
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,6 @@ private void FPSUpdate()
}
}
#endif

audioMaterial.SetVector(_VersionNumberAndFPSProperty, new Vector4(AudioLinkVersionNumber, 0, _fpsCount, 1));
// The red channel should be 3.02f forever - this is the last version before the versioning change.
audioMaterial.SetVector(_VersionNumberAndFPSProperty, new Vector4(3.02f, AudioLinkVersionNumberMajor, _fpsCount, AudioLinkVersionNumberMinor));
#if UDONSHARP
Expand Down

0 comments on commit e585268

Please sign in to comment.