Rust-SDL2 / rust-sdl2

SDL2 bindings for Rust
MIT License
2.65k stars 465 forks source link

Cannot compile on Android with raw-window-handle combined with wgpu #1372

Open jordan4ibanez opened 4 months ago

jordan4ibanez commented 4 months ago

I have tried up and down to fix this issue, but I cannot find a solution.

error[E0609]: no field `a_native_window` on type `AndroidDisplayHandle`
   --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sdl2-0.36.0/src/sdl2/raw_window_handle.rs:212:24
    |
212 |                 handle.a_native_window =
    |                        ^^^^^^^^^^^^^^^ unknown field

I'm simply trying to get the raw window handle to link like on every other operating system.