forked from 1b-agent/opencadstudio-upstream
feat(gpu): route legacy hardware to OpenGL, add hardware info to About, and expose Graphics options tab
This commit is contained in:
1 parent
81bb8d48cf
commit
abf302eba5
12 files changed
+838
-21
No files matched your search
@@ -332,6 +332,16 @@ impl OpenCADStudio {
|
||||
self.spacemouse_preferences, self.spacemouse.status(),
|
||||
self.spacemouse_paused, self.spacemouse_details,
|
||||
),
|
||||
{
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
let page = crate::ui::window::options::graphics::view(
|
||||
self.graphics_prefs,
|
||||
crate::gpu_backend::active_gpu(),
|
||||
);
|
||||
#[cfg(target_arch = "wasm32")]
|
||||
let page = iced::widget::Space::new().into();
|
||||
page
|
||||
},
|
||||
&self.snap_angle_input,
|
||||
&self.zoom_factor_input,
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user