ruffle/render
Aaron Hill 173a1a80cb Fix BitmapHandle downcasting in webgl and canvas backends
There were two issues:
1. We were accidentally calling `as_any` on `handle,` rather than
   `handle.0`
2. Calling `as_any` can invoke the wrong implementation, depending on
   what traits are in scope. We want the method implemented on the
   underlying type (`RegistryData`) to be used, but if `Downcast` is
   explicitly imported, then we appear to invoke it on the trait object
   `dyn BitmapHandleImpl` itself (using the fact that trait objects
   themselves implement `Any`). We now explicitly call the generated
   method on the trait object, which avoids this issue.
2022-12-04 14:53:00 -06:00
..
canvas Fix BitmapHandle downcasting in webgl and canvas backends 2022-12-04 14:53:00 -06:00
naga-agal swf: make Clippy happy 2022-12-03 22:18:22 +01:00
src core: Make `BitmapHandle` hold a trait object instead of an id 2022-12-03 19:44:44 -06:00
webgl Fix BitmapHandle downcasting in webgl and canvas backends 2022-12-04 14:53:00 -06:00
wgpu Fix BitmapHandle downcasting in webgl and canvas backends 2022-12-04 14:53:00 -06:00
Cargo.toml upgrade lock and toml dependencies 2022-11-26 14:04:59 -05:00