christolliday / limn

Experimental cross platform GUI library
Other
404 stars 19 forks source link

Could not run example on window. #56

Open o01eg opened 6 years ago

o01eg commented 6 years ago

When I try to run clock example I gets error:

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: OsError("wglCreateContextAttribsARB failed: OS Error -1073274731 (FormatMessageW() returned error 317) (os error -1073274731)")', src\libcore\result.rs:906:4
note: Run with `RUST_BACKTRACE=1` for a backtrace.
error: process didn't exit successfully: `target\release\examples\clock.exe` (exit code: 101)
o01eg commented 6 years ago

Fixes if I change OpenGL version to 3.1 here https://github.com/christolliday/limn/blob/master/src/window.rs#L16