CreateSurfaceError on Android #5215
Replies: 3 comments 2 replies
-
This is the result of printing the display handle and window handle on Android:
This is the result of running it successfully on my laptop:
|
Beta Was this translation helpful? Give feedback.
-
it appears this function is responsible for the #[cfg(feature = "rwh_06")]
impl rwh_06::HasWindowHandle for Window {
fn window_handle(&self) -> Result<rwh_06::WindowHandle<'_>, rwh_06::HandleError> {
// ...
}
} |
Beta Was this translation helpful? Give feedback.
-
haven't figured it out yet, but the field has drastically changed in that i have the window and gpu init code in the Resume event and now just need to get the Resume event to be called on Android. apparently it starts at APP_CMD_INIT_WINDOW from Java |
Beta Was this translation helpful? Give feedback.
-
I'm trying to create a surface on Android and I get the below error:
This is winit 0.29.10 and wgpu 0.19.1. winit uses the android-game-activity feature and wgpu uses the default features. I'm still trying to figure out why I'm not able to get a handle on the FrameLayout
Beta Was this translation helpful? Give feedback.
All reactions