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

Spaces cauing issues without syntax errors #340

Open
grinchdubs opened this issue May 3, 2023 · 0 comments
Open

Spaces cauing issues without syntax errors #340

grinchdubs opened this issue May 3, 2023 · 0 comments

Comments

@grinchdubs
Copy link

Recently I realized that I was having an issue with GLSL viewer when trying to follow the pixelspirit deck. I wrote a line on the 2nd card as such:
vec2 st = gl_FragCoord.xy / u_resolution ;

This line would not compile correctly because I had spaces on this line. When I removed the space as below:
vec2 st = gl_FragCoord.xy/u_resolution;

The line compiled fine and I able to move on. I wanted to add in the spaces so I can have a bit of space between my code so it isnt so cluttered but I see that is causing a problem.

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

1 participant