mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
webgl: Implement getSupportedExtensions
This commit is contained in:
parent
63aa6862b4
commit
b740b90b8d
2 changed files with 6 additions and 1 deletions
|
@ -244,6 +244,11 @@ impl WebGLRenderingContextMethods for WebGLRenderingContext {
|
|||
})
|
||||
}
|
||||
|
||||
// https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.14.14
|
||||
fn GetSupportedExtensions(&self) -> Option<Vec<DOMString>> {
|
||||
Some(vec![])
|
||||
}
|
||||
|
||||
// https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.14.14
|
||||
fn GetExtension(&self, _cx: *mut JSContext, _name: DOMString) -> *mut JSObject {
|
||||
// TODO(ecoal95) we actually do not support extensions.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue