Added windows support and made example render something fancier

This commit is contained in:
David Johnson 2022-01-16 08:03:20 -06:00
parent a36b11a934
commit d89a0c92aa
4 changed files with 88 additions and 3 deletions

View file

@ -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"