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
pl_lut_free #200
Comments
I don't understand this issue. Building error where? In libplacebo? In your code? |
As I understand, they do something like struct pl_render_params rrp;
...
rrp->lut = ...;
...
pl_lut_free(&rrp->lut); which fails for them. |
Yes, that's the use case. MSVC doesn't complain but clang-cl fails (requires explicitly const casting). |
I can also complain about similar thing, it is annoying that
Just need pointless casts :) |
pl_lut_free expects non-const
pl_custom_lut
but pl_render_params->lut is const. This causes building error.The text was updated successfully, but these errors were encountered: