File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
glium_gl_area/glium_gl_area Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ edition = "2021"
8
8
chrono = " 0.4"
9
9
10
10
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 }
12
12
glow = { version = " 0.13.0" , optional = true }
13
13
epoxy = { version = " 0.1.0" , optional = true }
14
14
libloading = { version = " 0.8.0" , optional = true }
Original file line number Diff line number Diff line change @@ -42,4 +42,8 @@ unsafe impl glium::backend::Backend for GliumGLArea {
42
42
unsafe fn make_current ( & self ) {
43
43
GLAreaExt :: make_current ( self ) ;
44
44
}
45
+
46
+ fn resize ( & self , size : ( u32 , u32 ) ) {
47
+ self . set_size_request ( size. 0 as i32 , size. 1 as i32 ) ;
48
+ }
45
49
}
You can’t perform that action at this time.
0 commit comments