mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
auto merge of #4414 : glennw/servo/fix-glutin, r=larsbergstrom
This commit is contained in:
commit
592c93e0c2
1 changed files with 2 additions and 2 deletions
|
@ -77,8 +77,8 @@ pub struct Window {
|
|||
#[cfg(not(target_os="android"))]
|
||||
fn load_gl_functions(glutin: &WindowHandle) {
|
||||
match glutin {
|
||||
&Windowed(ref window) => gl::load_with(|s| window.get_proc_address(s)),
|
||||
&Headless(ref headless) => gl::load_with(|s| headless.context.get_proc_address(s)),
|
||||
&WindowHandle::Windowed(ref window) => gl::load_with(|s| window.get_proc_address(s)),
|
||||
&WindowHandle::Headless(ref headless) => gl::load_with(|s| headless.context.get_proc_address(s)),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue