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

Fix #7004: Mark linkgraph dirty to be rebuilt on next draw call. #7265

Merged
merged 1 commit into from Feb 23, 2019

Conversation

PeterN
Copy link
Member

@PeterN PeterN commented Feb 23, 2019

Previously the linkgraph was rebuilt before the viewport extents were finalized.

This is an alternative to #7005.

Previously the linkgraph was rebuilt before the viewport extents were finalized.
@PeterN
Copy link
Member Author

PeterN commented Feb 23, 2019

Alternatively we can call Window::OnInvalidate and let the window control the refreshing.

@PeterN PeterN marked this pull request as ready for review February 23, 2019 16:23
@PeterN PeterN merged commit 87ebfe1 into OpenTTD:master Feb 23, 2019
@PeterN PeterN deleted the fix-7004 branch February 23, 2019 19:27
nielsmh pushed a commit to nielsmh/OpenTTD that referenced this pull request Mar 11, 2019
…l. (OpenTTD#7265)

Previously the linkgraph was rebuilt before the viewport extents were finalized.
douiwby pushed a commit to douiwby/OpenTTD that referenced this pull request Apr 16, 2020
…l. (OpenTTD#7265)

Previously the linkgraph was rebuilt before the viewport extents were finalized.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants