Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in WebGL 2.0 getFramebufferAttachmentParameter test for STENCIL buffer #1426

Open
kenrussell opened this issue Jan 12, 2016 · 0 comments

Comments

@kenrussell
Copy link
Member

The getFramebufferAttachmentParameter tests in sdk/tests/js/tests/gl-object-get-calls.js for WebGL 2.0, for the default framebuffer, assert that the FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE is non-zero. This is dubious, since the stencil buffer is disabled by default in the context creation attributes. This should be fixed, either by asserting that the size is zero, or, ideally, testing two contexts, one with stencil enabled and one with it disabled.

See #1421 which has some other problems and probably won't be committed.

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

No branches or pull requests

1 participant