mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Add configuration for webgl2 tests and update test expectations
This commit is contained in:
parent
c0a6f815c9
commit
ec1f61d9cc
103 changed files with 2719 additions and 2 deletions
|
@ -909,6 +909,7 @@ impl WebGL2RenderingContextMethods for WebGL2RenderingContext {
|
|||
impl LayoutCanvasWebGLRenderingContextHelpers for LayoutDom<WebGL2RenderingContext> {
|
||||
#[allow(unsafe_code)]
|
||||
unsafe fn canvas_data_source(&self) -> HTMLCanvasDataSource {
|
||||
HTMLCanvasDataSource::WebGL((*self.unsafe_get()).base.layout_handle())
|
||||
let this = &*self.unsafe_get();
|
||||
HTMLCanvasDataSource::WebGL((*this.base.to_layout().unsafe_get()).layout_handle())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue