Skip to content

Conversation

zjingcong
Copy link

Fix a typo in LoadShader function, which will cause loading vert shader as frag shader.

Copy link
Owner

@imtumbleweed imtumbleweed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a bug. The shader pair is intentionally loaded progressively, first vertex shader, then nested within it is the fragment shader. Each request is for a separate file, this is accurate.

@zjingcong
Copy link
Author

But in the code, it sends request for filename_vs for two times.

@imtumbleweed
Copy link
Owner

Hmmm. I'll check. @zjingcong

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.

2 participants