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

Add a cache refresh before drawing pixel minimap. #15868

Merged
merged 1 commit into from
Mar 23, 2016

Conversation

DanmakuDan
Copy link
Contributor

Fixes #15842, should also fix #15854 by setting ter_view_z before draw_sidebar.

This technically causes a small performance hit by calling the cache refresh before drawing the pixel minimap. The various draw terrain/map code should probably be rewritten where the cache is updated only when necessary. This fix was submitted to fix the current ongoing issue.

@kevingranade kevingranade merged commit 976ec58 into CleverRaven:master Mar 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants