mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
webgl: Make context creation fallible. Fixes #6806
This commit is contained in:
parent
e0bd80f807
commit
bc908458ff
3 changed files with 24 additions and 16 deletions
|
@ -266,7 +266,7 @@ pub enum Msg {
|
|||
/// WebGL uses the GPU and we don't want to give untrusted content access to the GPU.)
|
||||
CreateWebGLPaintTask(Size2D<i32>,
|
||||
GLContextAttributes,
|
||||
IpcSender<(IpcSender<CanvasMsg>, usize)>),
|
||||
IpcSender<Result<(IpcSender<CanvasMsg>, usize), String>>),
|
||||
}
|
||||
|
||||
#[derive(Clone, Eq, PartialEq, Deserialize, Serialize)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue