grovesNL / glow

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

Typo in hello example, OpenGL 4.10 doesn't exist (yet) #297

Closed vinhig closed 2 months ago

vinhig commented 4 months ago

There seems to be a typo in the hello example main.rs, when creating an OpenGL context the minor version referenced is "10", but alas, OpenGL 4.10 does not exist (yet).

https://github.com/grovesNL/glow/blob/c6e96041c024445ca5fba8cd749fad8d8752db7a/examples/hello/src/main.rs#L69

grovesNL commented 3 months ago

Ah yeah that should be 1, looks like it was change while upgrading glutin. Feel free to submit a PR if you'd like!

grovesNL commented 2 months ago

Fixed by #298