You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let shader = Shader::from_fragment_string(ctx,include_str!("../shaders/lighting.frag"))?;
produces this error:
let shader = Shader::from_fragment_string(ctx, include_str!("../shaders/lighting.frag"))?;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `P` declared on the associated function `from_fragment_string`
Steps to Reproduce
Quite simple to confirm using above code examples.
Additional Info
Removing the parameters from the two mentioned functions fixes the problem. I have a PR ready and I'll send it to you.
The text was updated successfully, but these errors were encountered:
Summary
The following code:
produces this error:
Steps to Reproduce
Quite simple to confirm using above code examples.
Additional Info
Removing the parameters from the two mentioned functions fixes the problem. I have a PR ready and I'll send it to you.
The text was updated successfully, but these errors were encountered: