summaryrefslogtreecommitdiffstats
path: root/examples/modern_art
diff options
context:
space:
mode:
Diffstat (limited to 'examples/modern_art')
-rw-r--r--examples/modern_art/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/modern_art/src/main.rs b/examples/modern_art/src/main.rs
index db9b0491..0dd21c74 100644
--- a/examples/modern_art/src/main.rs
+++ b/examples/modern_art/src/main.rs
@@ -133,7 +133,7 @@ fn generate_box(frame: &mut Frame, bounds: Size) -> bool {
if solid {
frame.fill_rectangle(top_left, size, random_color());
} else {
- frame.fill_rectangle(top_left, size, &gradient(top_left, size));
+ frame.fill_rectangle(top_left, size, gradient(top_left, size));
};
solid