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

Difficulty Recovering from Syntax Errors #312

Open
mtmckenna opened this issue Nov 17, 2022 · 2 comments
Open

Difficulty Recovering from Syntax Errors #312

mtmckenna opened this issue Nov 17, 2022 · 2 comments

Comments

@mtmckenna
Copy link

Not totally sure how to describe this so posting a video below to show what I'm seeing in case that helps.

If I accidentally type in a syntax error, glslViewer will helpfully show the error message. If I remove the error, I am then shown a different error message that doesn't make sense to me in the context of the shader. Strangely, if I then add back in another syntax error and then remove the error again, the shader runs just fine and I'm back in business (the video probably is a clearer explanation).

My expectation is that the shader should have worked after removing the syntax error the first time. Do you know if I'm doing something wrong or if there's maybe something else going on?

glslviewer-syntax-error.mov

Running Mac OSX 12.6.

Thank you!!

@TiborUdvari
Copy link

I have the same issue on version 3.1.1 running MacOS 12.4

@patriciogonzalezvivo
Copy link
Owner

Oh interesting. I will take a look. Seems like the magenta shader used to display the error gets stuck some where. Thanks for reporting it.

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

3 participants