Support both glium 0.28 and 0.29

This commit is contained in:
Willem Verstraeten 2020-12-16 10:29:16 +01:00 committed by Thom Chiovoloni
parent 7e2293bde6
commit 07cc96363f
2 changed files with 2 additions and 2 deletions

View File

@ -10,5 +10,5 @@ license = "MIT/Apache-2.0"
categories = ["gui", "rendering"]
[dependencies]
glium = { version = "0.29", default-features = false }
glium = { version = ">=0.28, < 0.30", default-features = false }
imgui = { version = "0.6.0", path = "../imgui", features = ["glium"] }

View File

@ -14,7 +14,7 @@ exclude = ["/resources"]
[dependencies]
bitflags = "1.0"
glium = { version = "0.29", default-features = false, optional = true }
glium = { version = ">= 0.28, < 0.30", default-features = false, optional = true }
gfx = { version = "0.18", optional = true }
imgui-sys = { version = "0.6.0", path = "../imgui-sys" }
parking_lot = "0.11"