plotters-rs / plotters-piston

Plotters piston window backend
MIT License
13 stars 13 forks source link

Error with executing example Glutin error #4

Open frozenranger opened 2 years ago

frozenranger commented 2 years ago

Hi plotters!

When I run the example, the window opens for a few seconds and then crashes. I get this error: thread 'main' panicked at 'attempted to zero-initialize type glutin::ContextWrapper<glutin::PossiblyCurrent, glutin::Window>, which is invalid',

Any ideas? I'm on windows 11

Thank you

frozenranger commented 2 years ago

Ok I think I know the issue, for some reason in version 0.112.0, this breaks in windows 11 however, in version 0.120.0 I don't get the above error. If possible plotters-piston needs to be updated to use the newest version of piston_window. Thank you