Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Useless linkgraph updates cause whole screen redraw #5908

Closed
DorpsGek opened this issue Feb 13, 2014 · 2 comments
Closed

Useless linkgraph updates cause whole screen redraw #5908

DorpsGek opened this issue Feb 13, 2014 · 2 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

MJP opened the ticket and wrote:

I don't know much about the linkgraph but it should not consume resources when it has nothing to draw.

See naive fix below. From a player point of view, it prevents regular lag in the game (ex: in Pile savegame used to profile blitters, at a moment there are 2 planes flying horizontally, we can see that their moving fluidity is affected each 255 ticks).

Attachments

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/5908
@DorpsGek
Copy link
Member Author

fonsinchen wrote:

The patch is a good idea but the company mask may also be 0, with the same effect. I'll fix that.


This comment was imported from FlySpray: https://bugs.openttd.org/task/5908#comment13056

@DorpsGek
Copy link
Member Author

fonsinchen closed the ticket.

Reason for closing: Fixed

In r26338


This comment was imported from FlySpray: https://bugs.openttd.org/task/5908

@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant