We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70cab45 commit ffedb82Copy full SHA for ffedb82
crates/processing_render/src/lib.rs
@@ -293,15 +293,15 @@ pub fn init(config: Config) -> error::Result<()> {
293
294
/// Initialize the app asynchronously
295
#[cfg(target_arch = "wasm32")]
296
-pub async fn init() -> error::Result<()> {
+pub async fn init(config: Config) -> error::Result<()> {
297
use bevy::app::PluginsState;
298
299
setup_tracing()?;
300
if is_already_init()? {
301
return Ok(());
302
}
303
304
- let mut app = create_app();
+ let mut app = create_app(config);
305
306
// we need to avoid blocking the main thread while waiting for plugins to initialize
307
while app.plugins_state() == PluginsState::Adding {
0 commit comments