Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenGL 3.3 support #50

Merged
merged 9 commits into from
Jan 5, 2020
Merged

OpenGL 3.3 support #50

merged 9 commits into from
Jan 5, 2020

Conversation

cloudhead
Copy link
Owner

@cloudhead cloudhead commented Jan 4, 2020

To turn on the opengl backend, build with cargo build --release --features compatibility

@cloudhead cloudhead marked this pull request as ready for review January 5, 2020 11:57
@cloudhead cloudhead merged commit a35536d into master Jan 5, 2020
@neauoire
Copy link

neauoire commented Jan 6, 2020

The current version gives me:

[2020-01-06T14:20:13Z INFO  rx] framebuffer size: 1280x720
[2020-01-06T14:20:13Z INFO  rx] hidpi factor: 2
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src/libcore/option.rs:378:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

@cloudhead
Copy link
Owner Author

@neauoire did you try #42 (comment) ?

This output suggests you aren’t running with —feature compatibility

@cloudhead
Copy link
Owner Author

You can use ‘cargo run’ directly with those flags to test things out.

@neauoire
Copy link

neauoire commented Jan 6, 2020

Screenshot from 2020-01-06 14-13-45@2x

I think I'm doing this right, am I missing a step?

@cloudhead
Copy link
Owner Author

cloudhead commented Jan 6, 2020

@neauoire ah yes it's a bit confusing but cargo install doesn't care what features you used to build (it'll run build in the background), try cargo install --force --locked --path . --features compatibility. If you're just testing things out you can also use cargo run --release --features compatibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants