Support winit v0.27.2

This commit is contained in:
Denis Barkar 2022-08-17 17:37:07 +03:00
parent 2d49ef7eb3
commit 5fa0f27564
5 changed files with 7 additions and 4 deletions

View File

@ -11,7 +11,7 @@ publish = false
[dev-dependencies]
clipboard = "0.5"
glium = { version = "0.31", default-features = true }
glium = { version = "0.32.1", default-features = true }
image = "0.23"
imgui = { path = "../imgui", features = ["tables-api"] }
imgui-glium-renderer = { path = "../imgui-glium-renderer" }

View File

@ -10,5 +10,5 @@ license = "MIT/Apache-2.0"
categories = ["gui", "rendering"]
[dependencies]
glium = { version = "0.31", default-features = false }
glium = { version = "0.32.1", default-features = false }
imgui = { version = "0.8.1-alpha.0", path = "../imgui" }

View File

@ -117,18 +117,21 @@ impl glium::vertex::Vertex for GliumDrawVert {
(
Borrowed("pos"),
0,
-1,
glium::vertex::AttributeType::F32F32,
false,
),
(
Borrowed("uv"),
8,
-1,
glium::vertex::AttributeType::F32F32,
false,
),
(
Borrowed("col"),
16,
-1,
glium::vertex::AttributeType::U8U8U8U8,
false,
),

View File

@ -15,7 +15,7 @@ glow = "0.10.0"
memoffset = "0.6.4"
[dev-dependencies]
glutin = "0.28.0"
glutin = "0.29.1"
imgui-winit-support = { version = "0.8.1-alpha.0", path = "../imgui-winit-support" }
image = "0.23"

View File

@ -11,4 +11,4 @@ categories = ["gui"]
[dependencies]
imgui = { version = "0.8.1-alpha.0", path = "../imgui" }
winit = { version = "0.26.0", default-features = false }
winit = { version = "0.27.2", default-features = false }