grovesNL / glow

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

howto example doesn't run on macOS #233

Closed jrmuizel closed 11 months ago

jrmuizel commented 1 year ago
$ cargo run
    Finished dev [unoptimized + debuginfo] target(s) in 0.25s
     Running `/Users/jrmuizel/src/glow/target/debug/howto`
thread 'main' panicked at 'ERROR: 0:1: '' :  version '130' is not supported
ERROR: 0:2: '' :  #version required and missing.
', examples/howto/src/main.rs:86:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
grovesNL commented 1 year ago

Thanks! We could probably default to OpenGL 3.2 or higher on macOS and bump the version in the shader.

TheCodeTherapy commented 1 year ago

@grovesNL pull/238 tested on MacBook Pro M1 Max with macOS Ventura 13.0

grovesNL commented 11 months ago

Fixed by #238