forked from 1b-agent/opencadstudio-upstream
fix: prefer high-performance GPU adapters
This commit is contained in:
1 parent
e6429d5712
commit
4bdbc0e5f6
1 file changed
+4
@@ -3890,6 +3890,10 @@ pub fn run() -> iced::Result {
|
||||
OpenCADStudio::update,
|
||||
OpenCADStudio::view,
|
||||
)
|
||||
.settings(iced::Settings {
|
||||
power_preference: iced::backend::PowerPreference::HighPerformance,
|
||||
..iced::Settings::default()
|
||||
})
|
||||
.subscription(OpenCADStudio::subscription)
|
||||
.title(|state: &OpenCADStudio, window_id: window::Id| {
|
||||
let _ = window_id; // all dialogs are in-canvas modals now
|
||||
|
||||
Reference in new issue
Block a user