You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The closure passed to `eframe::run_native` now returns a `Result`,
allowing you to return an error during app creation, which will be
returned to the caller of `run_native`.
This means you need to wrap your `Box::new(MyApp::new(…))` in an
`Ok(…)`.
* Closes#4474
eframe::run_native
takes a closure that creates the user's application. We should have some way of returning errors from it.It already has a rather complicated signature:
And that would need to become something like
…unless we can come up with something nicer.
Motivation
In Rerun we initialize the renderer in the app creation callback, and that can fail because of missing features of the host GPU.
The text was updated successfully, but these errors were encountered: