aevyrie / bevy_framepace

Framepacing and framelimiting for Bevy
https://crates.io/crates/bevy_framepace
Apache License 2.0
239 stars 23 forks source link

Add wasm32 workaround for missing `pipelined_rendering` #56

Closed justim closed 3 months ago

justim commented 5 months ago

The pipelined_rendering export is no longer available in Bevy since version 0.12 in wasm32 builds; it can no longer be used to select the right subapp.

Add a dummy version of the AppLabel that targets the pipelined_rendering subapp. Using a dummy app label allows to keep the same code to get the right subapp to apply the framepace resources and systems.

Fixes #54.

aevyrie commented 3 months ago

Unable to push to this branch, so created a branch on top of this in #57

justim commented 3 months ago

Thanks! 🚀