Added windows support and made example render something fancier
This commit is contained in:
parent
a36b11a934
commit
d89a0c92aa
4 changed files with 88 additions and 3 deletions
|
|
@ -5,7 +5,12 @@ edition = "2021"
|
|||
|
||||
[dependencies]
|
||||
raw-window-handle = "0.4.2"
|
||||
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
x11-dl = "2.19.1"
|
||||
|
||||
[target.'cfg(target_os = "windows")'.dependencies]
|
||||
winapi = "0.3.9"
|
||||
|
||||
[dev-dependencies]
|
||||
winit = "0.26.1"
|
||||
Loading…
Add table
Add a link
Reference in a new issue