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

Make shader string literals return Shaders #106

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

spelufo
Copy link

@spelufo spelufo commented Oct 3, 2022

Run into the triangle example failing because shader string literals return tuples and Program expects shaders. This fixes it by making the string literals return Shaders, which I think makes more sense, and it seems it used to be that way. The change could break existing programs if they are using shader string literals.

Run into the triangle example failing because shader string literals return tuples and `Program` expects shaders. This fixes it by making the string literals return `Shader`s, which I think makes more sense, and it seems [it used to be that way](https://github.com/JuliaGL/GLAbstraction.jl/pull/66/files#diff-3bcb8e0187346ed182ce51b41e01ee9efda0b7a6185333bb199eb1878fba4798L4). The change could break existing programs if they are using shader string literals.
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.

1 participant