mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 05:32:54 +08:00
Update uniform usage
This commit is contained in:
parent
e982901205
commit
e628e78f24
@ -197,7 +197,7 @@ namespace osu.Game.Rulesets.Osu.UI.Cursor
|
||||
if (Shared.VertexBuffer == null)
|
||||
Shared.VertexBuffer = new QuadVertexBuffer<TexturedTrailVertex>(max_sprites, BufferUsageHint.DynamicDraw);
|
||||
|
||||
Shader.GetUniform<float>("g_FadeClock").Value = Time;
|
||||
Shader.GetUniform<float>("g_FadeClock").UpdateValue(ref Time);
|
||||
|
||||
int updateStart = -1, updateEnd = 0;
|
||||
for (int i = 0; i < Parts.Length; ++i)
|
||||
|
Loading…
Reference in New Issue
Block a user