mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
webgl: Implement WebGLContextEvent and use it on context creation error
spec: https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.15
This commit is contained in:
parent
217c7da413
commit
7030f09823
8 changed files with 146 additions and 2 deletions
|
@ -36,7 +36,8 @@ pub enum EventTypeId {
|
|||
StorageEvent,
|
||||
UIEvent(UIEventTypeId),
|
||||
ErrorEvent,
|
||||
CloseEvent
|
||||
CloseEvent,
|
||||
WebGLContextEvent,
|
||||
}
|
||||
|
||||
#[derive(PartialEq, HeapSizeOf)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue