Properly implement the WebGL2 mixin

It should not extend the WebGL1 mixin.
This commit is contained in:
Anthony Ramine 2018-04-03 14:17:11 +02:00
parent 938f1362e7
commit 4b032f9191

View file

@ -573,10 +573,10 @@ interface WebGL2RenderingContextBase
[WebGLHandlesContextLoss] GLboolean isVertexArray(WebGLVertexArrayObject? vertexArray);
void bindVertexArray(WebGLVertexArrayObject? array);*/
};
WebGL2RenderingContextBase implements WebGLRenderingContextBase;
[Pref="dom.webgl2.enabled"]
interface WebGL2RenderingContext
{
};
WebGL2RenderingContext implements WebGLRenderingContextBase;
WebGL2RenderingContext implements WebGL2RenderingContextBase;