Skip to content

Commit

Permalink
Fix misuse of mixin syntax
Browse files Browse the repository at this point in the history
Introduced `interface mixin` syntax in KhronosGroup#2566 but it's incorrect.
A `interface mixin` SHOULD NOT includes another mixin.

This fixes KhronosGroup#2566.
  • Loading branch information
romandev committed Jan 4, 2018
1 parent 2df151b commit acb6351
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion specs/latest/2.0/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -967,11 +967,11 @@ <h3><a name="WEBGLRENDERINGCONTEXT">The WebGL context</a></h3>
[WebGLHandlesContextLoss] GLboolean isVertexArray(WebGLVertexArrayObject? vertexArray);
void bindVertexArray(WebGLVertexArrayObject? array);
};
WebGL2RenderingContextBase includes WebGLRenderingContextBase;

interface <dfn id="WebGL2RenderingContext">WebGL2RenderingContext</dfn>
{
};
WebGL2RenderingContext includes WebGLRenderingContextBase;
WebGL2RenderingContext includes WebGL2RenderingContextBase;

</pre>
Expand Down
2 changes: 1 addition & 1 deletion specs/latest/2.0/webgl2.idl
Original file line number Diff line number Diff line change
Expand Up @@ -570,11 +570,11 @@ interface mixin WebGL2RenderingContextBase
[WebGLHandlesContextLoss] GLboolean isVertexArray(WebGLVertexArrayObject? vertexArray);
void bindVertexArray(WebGLVertexArrayObject? array);
};
WebGL2RenderingContextBase includes WebGLRenderingContextBase;

interface WebGL2RenderingContext
{
};
WebGL2RenderingContext includes WebGLRenderingContextBase;
WebGL2RenderingContext includes WebGL2RenderingContextBase;


0 comments on commit acb6351

Please sign in to comment.