mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-11 21:02:45 +00:00
Apply review fixes
- apps/designcraft/src/main.rs
This commit is contained in:
1 parent
d9a55d19d6
commit
a2d745db00
1 file changed
+2
-2
@@ -314,8 +314,8 @@ fn main() -> std::process::ExitCode {
|
||||
if let Some(icon) = app_icon() {
|
||||
options.viewport = options.viewport.with_icon(icon);
|
||||
}
|
||||
// The adapter's largest texture side instead of eframe's 8192, so a window across several
|
||||
// monitors keeps its surface (see `gpu_limits`).
|
||||
// The adapter's largest texture side and buffer instead of eframe's 8192 and wgpu's 256 MiB, so a
|
||||
// window across several monitors keeps its surface and a large frame its vertex buffer (see `gpu_limits`).
|
||||
gpu_limits::request_adapter_sizes(&mut options);
|
||||
// The graphics backend, decided before the window exists: a driver that faults takes the
|
||||
// process down before any Rust code can catch it (see `gpu::backend`).
|
||||
|
||||
Reference in new issue
Block a user