diff options
Diffstat (limited to 'third_party/rust/wgpu-hal/src/gles/wgl.rs')
-rw-r--r-- | third_party/rust/wgpu-hal/src/gles/wgl.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/third_party/rust/wgpu-hal/src/gles/wgl.rs b/third_party/rust/wgpu-hal/src/gles/wgl.rs index 6243430dc2..c9039090b7 100644 --- a/third_party/rust/wgpu-hal/src/gles/wgl.rs +++ b/third_party/rust/wgpu-hal/src/gles/wgl.rs @@ -160,6 +160,9 @@ struct Inner { context: WglContext, } +unsafe impl Send for Inner {} +unsafe impl Sync for Inner {} + pub struct Instance { srgb_capable: bool, inner: Arc<Mutex<Inner>>, |