kettle11 / kapp

A pure Rust window and input library for Windows, Mac, and Web. (Work in progress)
Apache License 2.0
56 stars 4 forks source link

Actually use version numbers for GL context creation #28

Closed kettle11 closed 3 years ago

kettle11 commented 4 years ago

The GLContext creation part of this crate is mostly incomplete, a good first step would be to allow the GL version to be specified.

lunabunn commented 3 years ago

If we pass in a major and minor version upon context creation, are we okay with just ignoring them for web?

kettle11 commented 3 years ago

Yup!

Also a word of warning: in general the GL Context crate is less polished than the rest of kapp. I got it to the point where it worked for me, but didn't go much further.

If you see anything you think could be improved feel free to open an issue or pull request.

kettle11 commented 3 years ago

These flags still need to be set properly on Mac.