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

WebGLProgram: show error line indicator #24131

Merged
merged 2 commits into from
May 26, 2022
Merged

Conversation

marcofugaro
Copy link
Contributor

Related issue: #24130

Description

With the errors fix, I noticed the shader error logging could be improved.
To let the user understand quickly which line is erroring.

Before this PR After this PR
Screenshot 2022-05-25 at 17 59 27 Screenshot 2022-05-25 at 18 10 11

@mrdoob mrdoob added this to the r141 milestone May 26, 2022
@mrdoob mrdoob merged commit a4d7a97 into mrdoob:dev May 26, 2022
@mrdoob
Copy link
Owner

mrdoob commented May 26, 2022

Thanks!

@makc
Copy link
Contributor

makc commented May 29, 2022

should have used 👉

@mrdoob
Copy link
Owner

mrdoob commented May 30, 2022

[ '😩', '🫣', '😱', '🫠', '😵‍💫', '🤭', '🤨', '🤬' ][ Math.floor( Math.random() * 8 ) ]

abernier pushed a commit to abernier/three.js that referenced this pull request Sep 16, 2022
* WebGLProgram: show error line indicator

* Lint
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