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

[Merged by Bors] - Provide better error message when missing a render backend #1965

Closed
wants to merge 2 commits into from

Conversation

MinerSebas
Copy link
Contributor

Fixes #626

@alice-i-cecile alice-i-cecile added C-Docs An addition or correction to our documentation A-Rendering Drawing game state to the screen labels Apr 19, 2021
@alice-i-cecile alice-i-cecile added the S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it label Apr 19, 2021
@MinerSebas MinerSebas force-pushed the missing_render_backend branch from 6865fb3 to e86cb6c Compare April 19, 2021 21:21
@cart
Copy link
Member

cart commented Apr 19, 2021

bors r+

bors bot pushed a commit that referenced this pull request Apr 19, 2021
@bors bors bot changed the title Provide better error message when missing a render backend [Merged by Bors] - Provide better error message when missing a render backend Apr 19, 2021
@bors bors bot closed this Apr 19, 2021
@MinerSebas MinerSebas deleted the missing_render_backend branch April 20, 2021 17:55
bors bot pushed a commit that referenced this pull request Apr 20, 2021
In bevy_webgl2, the `RenderResourceContext` is created after startup as it needs to first wait for an event from js side:
https://github.com/mrk-its/bevy_webgl2/blob/f31e5d49def7de6bfe58a47587e7ab3ca349da05/src/lib.rs#L117

remove `panic` introduced in #1965 and log as a `warn` instead
ostwilkens pushed a commit to ostwilkens/bevy that referenced this pull request Jul 27, 2021
In bevy_webgl2, the `RenderResourceContext` is created after startup as it needs to first wait for an event from js side:
https://github.com/mrk-its/bevy_webgl2/blob/f31e5d49def7de6bfe58a47587e7ab3ca349da05/src/lib.rs#L117

remove `panic` introduced in bevyengine#1965 and log as a `warn` instead
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen C-Docs An addition or correction to our documentation S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Better error message when render is used without wgpu.
4 participants