Skip to content

Custom shaders no longer possible #353

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

Closed
Jouwee opened this issue May 6, 2025 · 0 comments · Fixed by #354
Closed

Custom shaders no longer possible #353

Jouwee opened this issue May 6, 2025 · 0 comments · Fixed by #354
Assignees
Labels

Comments

@Jouwee
Copy link

Jouwee commented May 6, 2025

Custom shader support was added in #265. However, since then, the TexturedColored shader has been created bbut not externalized, so now it's no longer possible to construct GlGraphics with custom shaders.

   --> src/main.rs:202:76
    |
202 |         gl: GlGraphics::from_pieces(Colored::new(glsl), test_shader(glsl), TexturedColor::new(glsl)),
    |                                                                            ^^^^^^^^^^^^^ use of undeclared type TexturedColor```
@bvssvni bvssvni self-assigned this Jun 5, 2025
@bvssvni bvssvni added the easy label Jun 5, 2025
bvssvni added a commit to bvssvni/opengl_graphics that referenced this issue Jun 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants