Skip to content

Commit

Permalink
Switch to using surfman in X11 mode.
Browse files Browse the repository at this point in the history
Partially addresses rust-windowing#310.
  • Loading branch information
pcwalton committed May 8, 2020
1 parent e766721 commit 90fb36f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion demo/native/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ path = "../../simd"
[dependencies.surfman]
git = "https://github.com/pcwalton/surfman"
rev = "616b9e020585dd650120fb1e6cceb0e2bb43199a"
features = ["sm-winit"]
features = ["sm-winit", "sm-x11"]

[dependencies.winit]
version = "<0.19.4" # 0.19.4 causes build errors https://github.com/rust-windowing/winit/pull/1105
Expand Down
2 changes: 1 addition & 1 deletion examples/canvas_minimal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ path = "../../resources"

[dependencies.surfman]
version = "0.2"
features = ["sm-winit"]
features = ["sm-winit", "sm-x11"]

[dependencies.winit]
version = "<0.19.4" # 0.19.4 causes build errors https://github.com/rust-windowing/winit/pull/1105
2 changes: 1 addition & 1 deletion examples/canvas_moire/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ path = "../../resources"
[dependencies.surfman]
git = "https://github.com/pcwalton/surfman"
rev = "616b9e020585dd650120fb1e6cceb0e2bb43199a"
features = ["sm-winit"]
features = ["sm-winit", "sm-x11"]

[dependencies.winit]
version = "<0.19.4" # 0.19.4 causes build errors https://github.com/rust-windowing/winit/pull/1105
2 changes: 1 addition & 1 deletion examples/canvas_nanovg/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ path = "../../simd"
[dependencies.surfman]
git = "https://github.com/pcwalton/surfman"
rev = "bc29e7ae88ca7dd64d3b1c7e185604693290207f"
features = ["sm-winit"]
features = ["sm-winit", "sm-x11"]

[dependencies.winit]
version = "<0.19.4" # 0.19.4 causes build errors https://github.com/rust-windowing/winit/pull/1105
Expand Down

0 comments on commit 90fb36f

Please sign in to comment.