Skip to content

Conversation

@davepagurek
Copy link
Contributor

Resolves #6989

Changes:

  • Makes sure the WebGL stencil check, which is what applies the clipping, is updated both when you start drawing to a framebuffer as well as when you stop (previously, it only did this when you stop)

Screenshots of the change:

The code in the issue now produces a red canvas in Chrome as expected:
image

PR Checklist

  • npm run lint passes
  • [Inline documentation] is included / updated
  • [Unit tests] are included / updated

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.

beginClip() is accidentally being applied to framebuffers

2 participants