mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
webgl: Add stub isContextLost API.
This commit is contained in:
parent
745eb88e32
commit
795560ad52
7 changed files with 17 additions and 24 deletions
|
@ -1119,6 +1119,11 @@ impl WebGL2RenderingContextMethods for WebGL2RenderingContext {
|
|||
self.base.GetContextAttributes()
|
||||
}
|
||||
|
||||
// https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.14.13
|
||||
fn IsContextLost(&self) -> bool {
|
||||
self.base.IsContextLost()
|
||||
}
|
||||
|
||||
/// https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.14.14
|
||||
fn GetSupportedExtensions(&self) -> Option<Vec<DOMString>> {
|
||||
self.base.GetSupportedExtensions()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue