Enable libcosmic wgpu backend for performance
This commit is contained in:
parent
05c5cc662d
commit
5c015f1baa
3 changed files with 3 additions and 2 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
|
@ -2458,6 +2458,7 @@ dependencies = [
|
|||
"iced_runtime",
|
||||
"iced_style",
|
||||
"iced_tiny_skia",
|
||||
"iced_wgpu",
|
||||
"iced_widget",
|
||||
"iced_winit",
|
||||
"lazy_static",
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ features = ["syntect", "vi"]
|
|||
git = "https://github.com/pop-os/libcosmic"
|
||||
branch = "menu"
|
||||
default-features = false
|
||||
features = ["winit"]
|
||||
features = ["winit", "wgpu"]
|
||||
#path = "../libcosmic"
|
||||
|
||||
[patch.crates-io]
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ lazy_static::lazy_static! {
|
|||
}
|
||||
|
||||
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
env_logger::Builder::from_env(env_logger::Env::default().default_filter_or("info")).init();
|
||||
env_logger::Builder::from_env(env_logger::Env::default().default_filter_or("warn")).init();
|
||||
|
||||
localize::localize();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue