KEMBAR78
Second try @ Remove context Attribute from XRWebGLLayer by bricetebbs · Pull Request #707 · immersive-web/webxr · GitHub
Skip to content

Conversation

bricetebbs
Copy link
Contributor

This is a redo of #699 since I made some mistakes in that one I am not sure how to fix.

I think it addressed the comments on that PR

I have no idea what I'm doing so I'll explain what I did. I made what seemed like the obvious change in index.bs and tried to find any other references in the file.  I searched through the explainer to see if it needed changes and it didn't seem to. I also checked a few of the code samples and they also don't seem to us this attribute.
@bricetebbs bricetebbs marked this pull request as ready for review June 15, 2019 14:27
Copy link
Contributor

@Manishearth Manishearth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good!

};
</pre>

Each {{XRWebGLLayer}} has a <dfn for="XRWebGLLayer">context</dfn> object, initially <code>null</code>, which is an instance of either a {{WebGLRenderingContext}} or a {{WebGL2RenderingContext}}.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can just say that this is an {{XRWebGLRenderingContext}} (but you don't have to, this is fine too)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is actually slightly clearer in this case, since it avoids the need to cross-reference with other parts of the spec. Since it's not a huge difference in the size of the text, nor is it something that gets repeated a lot elsewhere, I'm good with it.

@toji
Copy link
Member

toji commented Jun 17, 2019

Perfect, thanks! (And let me know if you want a mini tutorial on updating an existing PR sometime! It's not hard, but it's a process that likes to throw intimidating error messages at you that you.)

@toji toji merged commit ca80cb0 into immersive-web:master Jun 17, 2019
@toji toji added this to the June 2019 milestone Jun 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants