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 crash in GenerateWorldMaterials() #1521

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

slipher
Copy link
Member

@slipher slipher commented Jan 25, 2025

If the cgame sends some 2D rendering commands in the first frame before calling RenderScene as described in
Unvanquished/Unvanquished#3305, it could cause a crash. Fix this by not setting generatingWorldCommandBuffer prematurely while those commands are executing.

If the cgame sends some 2D rendering commands in the first frame before
calling RenderScene as described in
Unvanquished/Unvanquished#3305, it could cause
a crash. Fix this by not setting generatingWorldCommandBuffer
prematurely while those commands are executing.
Copy link
Contributor

@VReaperV VReaperV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@slipher slipher merged commit e6a66e6 into DaemonEngine:master Jan 27, 2025
9 checks passed
@slipher slipher deleted the material-crash branch January 27, 2025 22:03
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