ruffle/render/wgpu
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
..
shaders wgpu: Merge bitmap bind groups 2 and 3 2022-09-11 09:07:53 +02:00
src 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
uniforms.md wgpu: Merge bitmap bind groups 2 and 3 2022-09-11 09:07:53 +02:00