mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
e9e944f77a
createWgpuSurface() calls wgpu_macos_attach_metal_layer() in the Q_OS_MAC branch at the top of the file, but the only #include of MetalSurface_mac.h sat ~450 lines below the call site, so macOS builds failed with 'use of undeclared identifier'. The header self-guards on __APPLE__, so move the include up into the early platform block next to <Windows.h>; the lone call site is the sole consumer, so the late include was dead. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>