Skip to content

Examples should not create the window outside of the event loop #5214

@thequver

Description

@thequver

Hey, i've been trying to create a simple wgpu 0.19 + winit 0.29 app but stuck at inconsistencies between wgpu examples and how winit is "intended" to be used. I've seen multiple times in winit repo they mention that creating a window outside of running event loop is wrong. Besides, this will probably be removed in version 0.30.
But wgpu examples show window creation outside of event loop.
Can examples be updated?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions