summaryrefslogtreecommitdiffstats
path: root/examples/solar_system
diff options
context:
space:
mode:
Diffstat (limited to 'examples/solar_system')
-rw-r--r--examples/solar_system/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/solar_system/src/main.rs b/examples/solar_system/src/main.rs
index 8d27d154..56787a99 100644
--- a/examples/solar_system/src/main.rs
+++ b/examples/solar_system/src/main.rs
@@ -213,7 +213,7 @@ impl<Message> canvas::Program<Message> for State {
.build()
.expect("Build Earth fill gradient");
- frame.fill(&earth, &earth_fill);
+ frame.fill(&earth, earth_fill);
frame.with_save(|frame| {
frame.rotate(rotation * 10.0);