mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-25 03:28:12 +08:00
Add debug output for surface capablities
This commit is contained in:
@@ -339,6 +339,7 @@ impl NodeRuntime {
|
|||||||
// Configure the surface at physical resolution (for HiDPI displays)
|
// Configure the surface at physical resolution (for HiDPI displays)
|
||||||
let surface_inner = &surface.surface.inner;
|
let surface_inner = &surface.surface.inner;
|
||||||
let surface_caps = surface_inner.get_capabilities(&executor.context.adapter);
|
let surface_caps = surface_inner.get_capabilities(&executor.context.adapter);
|
||||||
|
log::debug!("surface_caps: {:?}", surface_caps);
|
||||||
surface_inner.configure(
|
surface_inner.configure(
|
||||||
&executor.context.device,
|
&executor.context.device,
|
||||||
&vello::wgpu::SurfaceConfiguration {
|
&vello::wgpu::SurfaceConfiguration {
|
||||||
|
|||||||
Reference in New Issue
Block a user