grovesNL / glow

GL on Whatever: a set of bindings to run GL anywhere and avoid target-specific code
Apache License 2.0
1.2k stars 130 forks source link

Update 'hello' example to use glutin v0.31 and winit v0.29 #276

Closed dmbfm closed 9 months ago

dmbfm commented 9 months ago

Related to issue https://github.com/grovesNL/glow/issues/249.

Since glutin no longer bundles winit, we need a lot of additional dependencies now: winit, glutin-winit and raw-window-handle. I grouped them in a feature named glutin_winit.

The boilerplate to configure the window is a lot longer as well. I am not 100% sure I configured everything correctly, but I mostly stuck with the example code in the glutin repo.

grovesNL commented 9 months ago

You can bump the pinned Rust version to 1.64 to get that last build working -- I think the two places are the README and the CI configuration

dmbfm commented 9 months ago

Thanks, I'll do that!

dmbfm commented 9 months ago

@grovesNL It seems we need 1.65... is that ok?

grovesNL commented 9 months ago

Sure, let's bump it to 1.65