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

re_renderer: do not silently drop draw phases #1471

Merged
merged 1 commit into from Mar 2, 2023

Conversation

teh-cmc
Copy link
Member

@teh-cmc teh-cmc commented Mar 2, 2023

I woke up to an almost black screen today:
image

and could not for the life of me figure out why: no logs, no crash... just darkness 🤷‍♂️.

Turns out I had a code path that could sometimes use a renderer without registering it first.
Right now when that happens we silently drop the draw calls for this renderer... and we don't stop there, we actually silently drop the entire draw phase for everybody else!

@Wumpf Wumpf added 🪳 bug Something isn't working 🔺 re_renderer affects re_renderer itself labels Mar 2, 2023
Copy link
Member

@Wumpf Wumpf left a comment

Choose a reason for hiding this comment

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

good call!

@teh-cmc teh-cmc merged commit faa65b6 into main Mar 2, 2023
@teh-cmc teh-cmc deleted the cmc/dont_silent_failed_phases branch March 2, 2023 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪳 bug Something isn't working 🔺 re_renderer affects re_renderer itself
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants