Skip to content

Commit 2ed0557

Browse files
authored
Merge pull request #1537 from gtk-rs/dependabot/cargo/glium-0.33
build(deps): update glium requirement from 0.32 to 0.33
2 parents 1dd7dc0 + 14bd6f0 commit 2ed0557

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

examples/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ edition = "2021"
88
chrono = "0.4"
99

1010
femtovg = { version = "0.8", optional = true, default-features = false }
11-
glium = { version = "0.32", optional = true, default-features = false }
11+
glium = { version = "0.33", optional = true, default-features = false }
1212
glow = { version = "0.13.0", optional = true }
1313
epoxy = { version = "0.1.0", optional = true }
1414
libloading = { version = "0.8.0", optional = true }

examples/glium_gl_area/glium_gl_area/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,8 @@ unsafe impl glium::backend::Backend for GliumGLArea {
4242
unsafe fn make_current(&self) {
4343
GLAreaExt::make_current(self);
4444
}
45+
46+
fn resize(&self, size: (u32, u32)) {
47+
self.set_size_request(size.0 as i32, size.1 as i32);
48+
}
4549
}

0 commit comments

Comments
 (0)