Fix menu effects ignoring annotations
This commit is contained in:
@@ -93,7 +93,7 @@ namespace OpenRA.Mods.Cnc.Traits
|
||||
shader.SetVec("Scroll", scroll.X, scroll.Y);
|
||||
shader.SetVec("p1", width, height);
|
||||
shader.SetVec("p2", -1, -1);
|
||||
shader.SetTexture("WorldTexture", Game.Renderer.WorldBufferSnapshot());
|
||||
shader.SetTexture("SourceTexture", Game.Renderer.GetRenderBufferSnapshot());
|
||||
shader.SetTexture("VortexTexture", vortexSheet.GetTexture());
|
||||
shader.PrepareRender();
|
||||
foreach (var (pos, frame) in vortices)
|
||||
|
||||
Reference in New Issue
Block a user