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

Allow clear colors to propagate to the webGL clear method. #5515

Merged
merged 3 commits into from
Dec 30, 2021

Conversation

aferriss
Copy link
Contributor

Resolves #5513

Changes:
Allows RGBA values to propagate to the clear method in the webGL renderer. The webGL clear method was implemented to accept color values, but previously, those values were never actually passed to the method.

This PR also updates the clear method documentation to reflect this change, as well as a unit test.

PR Checklist

@stalgiag
Copy link
Contributor

Looks good to me thank you!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

clear() function doesn't clear when using a createGraphics buffer in webGL mode
2 participants