Add configuration for webgl2 tests and update test expectations

This commit is contained in:
Imanol Fernandez 2017-11-02 15:06:46 +01:00
parent c0a6f815c9
commit ec1f61d9cc
103 changed files with 2719 additions and 2 deletions

View file

@ -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())
}
}