mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 05:40:03 -04:00
Fix some clippy warning from Rust 1.78.0 (#4444)
This commit is contained in:
@@ -232,7 +232,7 @@ pub enum HardwareAcceleration {
|
||||
|
||||
/// Do NOT use graphics acceleration.
|
||||
///
|
||||
/// On some platforms (MacOS) this is ignored and treated the same as [`Self::Preferred`].
|
||||
/// On some platforms (macOS) this is ignored and treated the same as [`Self::Preferred`].
|
||||
Off,
|
||||
}
|
||||
|
||||
@@ -518,10 +518,10 @@ pub enum WebGlContextOption {
|
||||
/// Force use WebGL2.
|
||||
WebGl2,
|
||||
|
||||
/// Use WebGl2 first.
|
||||
/// Use WebGL2 first.
|
||||
BestFirst,
|
||||
|
||||
/// Use WebGl1 first
|
||||
/// Use WebGL1 first
|
||||
CompatibilityFirst,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user