summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLibravatar bungoboingo <shankern@protonmail.com>2022-11-08 11:32:27 -0800
committerLibravatar bungoboingo <shankern@protonmail.com>2022-11-08 13:41:44 -0800
commit9841d1938142cb453495a50e4a88059c6eae3074 (patch)
tree2ee406dd8c9895aea1e28a3ab13950fdd809cac7 /examples
parentd9f408d1c2567698c97890b1bbcc4363bcd313aa (diff)
downloadiced-9841d1938142cb453495a50e4a88059c6eae3074.tar.gz
iced-9841d1938142cb453495a50e4a88059c6eae3074.tar.bz2
iced-9841d1938142cb453495a50e4a88059c6eae3074.zip
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()