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

[SP] Fix vid_restart crash #957

Merged
merged 1 commit into from
Feb 26, 2018
Merged

Conversation

xycaleth
Copy link
Member

@xycaleth xycaleth commented Feb 25, 2018

The renderer isn't initialized until the first frame after the restart. The game frame can run before this happens which will try to do some operations with the renderer, causing the process to crash.

Fix this by ensuring renderer is initialised immediately after being shutdown.

The renderer isn't initialized until the first frame after the restart.
The game frame can run before this happens which will try to do some
operations with the renderer, causing the process to crash.
@ensiform ensiform merged commit e3f2207 into JACoders:master Feb 26, 2018
eternalcodes pushed a commit to eternalcodes/EternalJK that referenced this pull request Aug 20, 2018
realBunisher pushed a commit to jkunlimited/openjk that referenced this pull request Apr 18, 2020
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.

2 participants