warning: use of deprecated method #311
Closed
jurandysoares
started this conversation in
General
Replies: 1 comment
|
This should be fixed on |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Just to give you a feedback to upgrade a small part of your codebase.
Compiling agg v1.7.0 (/home/boy/.cargo/git/checkouts/agg-7f25bc5356a562d5/489de4d)
warning: use of deprecated method
rgb::legacy::internal::rgb::<impl rgb::Rgb<T>>::alpha: use .with_alpha(a) instead; this will become a getter in the future--> src/renderer/fontdue.rs:172:40
|
172 | ... vec![self.theme.background.alpha(255); self.pixel_width * self.pi...
| ^^^^^
|
= note:
#[warn(deprecated)]on by defaultwarning: use of deprecated method
rgb::legacy::internal::rgb::<impl rgb::Rgb<T>>::alpha: use .with_alpha(a) instead; this will become a getter in the future--> src/renderer/fontdue.rs:194:63
|
194 | ... buf[y * self.pixel_width + x] = c.alpha(255);
| ^^^^^
warning: use of deprecated method
rgb::legacy::internal::rgb::<impl rgb::Rgb<T>>::alpha: use .with_alpha(a) instead; this will become a getter in the future--> src/renderer/fontdue.rs:205:18
|
205 | .alpha(255);
| ^^^^^
warning:
agg(lib) generated 3 warningsFinished
releaseprofile [optimized] target(s) in 3m 03sInstalling /home/boy/.cargo/bin/agg
Installed package
agg v1.7.0 (https://github.com/asciinema/agg#489de4da)(executableagg)All reactions