mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 22:30:03 -04:00
Use Rust edition 2024 (#7280)
This commit is contained in:
@@ -47,11 +47,7 @@ impl ShaderVersion {
|
||||
.try_into()
|
||||
.unwrap();
|
||||
if es {
|
||||
if maj >= 3 {
|
||||
Self::Es300
|
||||
} else {
|
||||
Self::Es100
|
||||
}
|
||||
if maj >= 3 { Self::Es300 } else { Self::Es100 }
|
||||
} else if maj > 1 || (maj == 1 && min >= 40) {
|
||||
Self::Gl140
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user