mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
implement clone for embedder and compositor proxies
This commit is contained in:
parent
01c24e017d
commit
6bca3402a6
4 changed files with 14 additions and 8 deletions
|
@ -27,7 +27,7 @@ impl GLContextFactory {
|
|||
if cfg!(target_os = "windows") {
|
||||
// Used to dispatch functions from the GLContext thread to the main thread's event loop.
|
||||
// Required to allow WGL GLContext sharing in Windows.
|
||||
GLContextFactory::Native(handle, Some(MainThreadDispatcher::new(proxy.clone_compositor_proxy())))
|
||||
GLContextFactory::Native(handle, Some(MainThreadDispatcher::new(proxy.clone())))
|
||||
} else {
|
||||
GLContextFactory::Native(handle, None)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue