From 5c96f4f080b9124e9a1bbb3c53c51b1ac272eeab Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Tue, 14 Apr 2026 13:00:35 +0200 Subject: [PATCH] Document glow-only fields in `NativeOptions` (#8104) --- crates/eframe/src/epi.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/eframe/src/epi.rs b/crates/eframe/src/epi.rs index b9a178a1d..bc19951bf 100644 --- a/crates/eframe/src/epi.rs +++ b/crates/eframe/src/epi.rs @@ -317,6 +317,8 @@ pub struct NativeOptions { /// Turn on vertical syncing, limiting the FPS to the display refresh rate. /// /// The default is `true`. + /// + /// Only affects the `glow` backend. pub vsync: bool, /// Set the level of the multisampling anti-aliasing (MSAA). @@ -343,6 +345,8 @@ pub struct NativeOptions { /// Specify whether or not hardware acceleration is preferred, required, or not. /// /// Default: [`HardwareAcceleration::Preferred`]. + /// + /// Only affects the `glow` backend. pub hardware_acceleration: HardwareAcceleration, /// What rendering backend to use.