summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2022-11-08 23:23:58 +0100
committerLibravatar GitHub <noreply@github.com>2022-11-08 23:23:58 +0100
commit8102f96f12e6cb22dd2a23accea2c70490c8c532 (patch)
tree2ee406dd8c9895aea1e28a3ab13950fdd809cac7 /examples
parentd9f408d1c2567698c97890b1bbcc4363bcd313aa (diff)
parent9841d1938142cb453495a50e4a88059c6eae3074 (diff)
downloadiced-8102f96f12e6cb22dd2a23accea2c70490c8c532.tar.gz
iced-8102f96f12e6cb22dd2a23accea2c70490c8c532.tar.bz2
iced-8102f96f12e6cb22dd2a23accea2c70490c8c532.zip
Merge pull request #1518 from bungoboingo/fix/old_gl
Fixed issues with old GL versions ( <= 2.1 )
Diffstat (limited to 'examples')
-rw-r--r--examples/modern_art/Cargo.toml1
-rw-r--r--examples/modern_art/src/main.rs2
2 files changed, 3 insertions, 0 deletions
diff --git a/examples/modern_art/Cargo.toml b/examples/modern_art/Cargo.toml
index a48361ae..4242d209 100644
--- a/examples/modern_art/Cargo.toml
+++ b/examples/modern_art/Cargo.toml
@@ -8,3 +8,4 @@ publish = false
[dependencies]
iced = { path = "../..", features = ["canvas", "tokio", "debug"] }
rand = "0.8.5"
+env_logger = "0.9"
diff --git a/examples/modern_art/src/main.rs b/examples/modern_art/src/main.rs
index 0dd21c74..28ed3e21 100644
--- a/examples/modern_art/src/main.rs
+++ b/examples/modern_art/src/main.rs
@@ -9,6 +9,8 @@ use iced::{
use rand::{thread_rng, Rng};
fn main() -> iced::Result {
+ env_logger::builder().format_timestamp(None).init();
+
ModernArt::run(Settings {
antialiasing: true,
..Settings::default()