mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Add support for filtering WebGL extensions based on WebGL version
This commit is contained in:
parent
d21657a9e5
commit
f2f5817f56
13 changed files with 87 additions and 25 deletions
|
@ -252,7 +252,7 @@ impl WebGLRenderingContext {
|
|||
current_vertex_attrib_0: Cell::new((0f32, 0f32, 0f32, 1f32)),
|
||||
current_scissor: Cell::new((0, 0, size.width, size.height)),
|
||||
current_clear_color: Cell::new((0.0, 0.0, 0.0, 0.0)),
|
||||
extension_manager: WebGLExtensions::new()
|
||||
extension_manager: WebGLExtensions::new(webgl_version)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue