Fixed issues with old GL versions ( <= 2.1 )

This commit is contained in:
bungoboingo 2022-11-08 11:32:27 -08:00
parent d9f408d1c2
commit 9841d19381
5 changed files with 22 additions and 19 deletions

View file

@ -8,3 +8,4 @@ publish = false
[dependencies]
iced = { path = "../..", features = ["canvas", "tokio", "debug"] }
rand = "0.8.5"
env_logger = "0.9"

View file

@ -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()