mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 01:04:06 +00:00
01476b9836
This patch implements a way for minimap-type GUI objects to request the rendering of the minimap texture each frame. If it wasn't requested the minimap texture isn't rendered at all and the objects only request it while they are being displayed. This saves unnecessary work and fixes a bug where the minimap briefly showed the revealed map after a cinema path ended playing, since it isn't updated every frame (only 2x per second).