diff options
author | 2021-11-10 11:18:57 -0300 | |
---|---|---|
committer | 2022-01-19 17:40:17 -0300 | |
commit | 94bb03c33c161015c200cd77bc6b2d73531d0917 (patch) | |
tree | 9ae3ecf162cc9f9c7c69890897bf1798faee36cc /glow/src/quad.rs | |
parent | 381052c50e8c3458a681ec4f2df6c74a40baf5d2 (diff) | |
download | iced-94bb03c33c161015c200cd77bc6b2d73531d0917.tar.gz iced-94bb03c33c161015c200cd77bc6b2d73531d0917.tar.bz2 iced-94bb03c33c161015c200cd77bc6b2d73531d0917.zip |
Log debugging info
Diffstat (limited to '')
-rw-r--r-- | glow/src/quad.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/glow/src/quad.rs b/glow/src/quad.rs index 5438024c..75740c7e 100644 --- a/glow/src/quad.rs +++ b/glow/src/quad.rs @@ -16,8 +16,10 @@ impl Pipeline { pub fn new(gl: &glow::Context) -> Pipeline { let version = gl.version(); if version.is_embedded || version.major == 2 { + log::info!("Mode: compatibility"); Pipeline::Compatibility(compatibility::Pipeline::new(gl)) } else { + log::info!("Mode: core"); Pipeline::Core(core::Pipeline::new(gl)) } } |