-
Notifications
You must be signed in to change notification settings - Fork 67
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
Custom handler for shader compile/link errors #162
Comments
@lucasdomanico sorry for the late reply. Is this still an issue? This might be doable, but I'd like to understand the use-case better. Shader compilation errors are generally programming errors, so I'm not clear on what a runtime handler would be able to do. |
Hi again! Another option is to throw an exception instead of writing directly to the |
That could make sense. I'd probably do something like |
Hello!, this is about a tiny feature request; I'm currently modifying
Shader.checkCompilation()
source code, to handle these errors in the way I need.It would be cool if PicoGL had a way to set a handler for compilation errors.
Best regards,
The text was updated successfully, but these errors were encountered: