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

Don't unload shaders when shutting down renderer unless it's restarting #36

Open
xycaleth opened this issue Apr 10, 2016 · 0 comments
Open

Comments

@xycaleth
Copy link
Owner

GLSL shaders currently get unloaded every time the renderer is shut down. With so many shaders needing to be compiled, it takes a long time for them to be unloaded and then load them again. This should save significant time when loading maps, and changing maps.

The only case when they need to be unloaded is when the renderer itself is going to be reloaded (e.g. when /vid_restart is run).

@xycaleth xycaleth modified the milestone: Milestone 2 May 1, 2016
xycaleth pushed a commit that referenced this issue Apr 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant