mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 20:22:55 +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)
|
if (Shared.VertexBuffer == null)
|
||||||
Shared.VertexBuffer = new QuadVertexBuffer<TexturedTrailVertex>(max_sprites, BufferUsageHint.DynamicDraw);
|
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;
|
int updateStart = -1, updateEnd = 0;
|
||||||
for (int i = 0; i < Parts.Length; ++i)
|
for (int i = 0; i < Parts.Length; ++i)
|
||||||
|
Loading…
Reference in New Issue
Block a user