Skip to content

Fix compiler error related to App::new instantiation#674

Open
MichStew wants to merge 2 commits into
sotrh:masterfrom
MichStew:master
Open

Fix compiler error related to App::new instantiation#674
MichStew wants to merge 2 commits into
sotrh:masterfrom
MichStew:master

Conversation

@MichStew
Copy link
Copy Markdown

at least on native implementation, the user must pass &event to the app instantiation in order to get a window working.

Unsure if this effects web targets.

First time using following this tutorial and noticed I had to let new borrow &event_loop in order to get rid of compiler error and finally open a window.

MichStew added 2 commits May 29, 2026 14:44
this tutorial has bits that were writted for v28.0.0 and bits that were written for 29.03. See Display field in InstanceDescriptos - does not exist on v28. See also output matching scheme - v28 does not have CurrentSurfaceTexture return type from method get_current_texture. it does however have a TextureStatus. Just some weird discrepencies that keep throwing me off.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant