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

Fix: webgl-1 support #10410

Merged
merged 3 commits into from Apr 9, 2024
Merged

Fix: webgl-1 support #10410

merged 3 commits into from Apr 9, 2024

Conversation

GoodBoyDigital
Copy link
Member

@GoodBoyDigital GoodBoyDigital commented Apr 2, 2024

fixes an issue where we were looking for a WebGL2Context even if it does not exist.

This PR removes the getWebGL2RenderingContext. It then renames getWebGLRenderingContext -> getWebGL1RenderingContext
With that instead of checking if somthign is WebGL2, we can check if is not WebGL1.

@GoodBoyDigital GoodBoyDigital requested a review from Zyie April 2, 2024 17:12
Copy link

codesandbox-ci bot commented Apr 2, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 07278f4:

Sandbox Source
pixi.js-sandbox Configuration

@GoodBoyDigital
Copy link
Member Author

fixes #10391

@Zyie Zyie changed the title Bugfix/webgl-1-only Fix: webgl-1 support Apr 2, 2024
src/environment-browser/BrowserAdapter.ts Outdated Show resolved Hide resolved
@Zyie Zyie added the v8 label Apr 2, 2024
@Zyie Zyie added the ✅ Ready To Merge Helpful when issues are in the queue waiting to get merged. This means the PR is completed and has t label Apr 3, 2024
@Zyie Zyie added this pull request to the merge queue Apr 9, 2024
Merged via the queue into dev with commit 1b7e577 Apr 9, 2024
4 checks passed
@Zyie Zyie deleted the bugfix/webgl-1-only branch April 9, 2024 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✅ Ready To Merge Helpful when issues are in the queue waiting to get merged. This means the PR is completed and has t v8
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants