From 96daafc92d0507421b859783538512317eefb72c Mon Sep 17 00:00:00 2001 From: skal Date: Sat, 31 Jan 2026 22:30:42 +0100 Subject: fix(build): resolve cross-platform build configuration errors - Corrected signature in for macOS native builds to match the 5-parameter definition. - Conditionally compiled assignments in for native builds and removed the definition for Windows from , resolving 'no member named ' errors in Windows cross-compilation. - Verified all macOS native build configurations (Debug, Size-Optimized, Final/Strip, Developer/All Options, Tests Only, Tools Only) and the Windows cross-compilation build are now compiling successfully. --- src/gpu/gpu.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/gpu/gpu.h') diff --git a/src/gpu/gpu.h b/src/gpu/gpu.h index eb3dd8a..062b822 100644 --- a/src/gpu/gpu.h +++ b/src/gpu/gpu.h @@ -32,8 +32,6 @@ using WGPUShaderSourceWGSL = WGPUShaderModuleWGSLDescriptor; #define WGPUCallbackMode_WaitAnyOnly 0 -#define WGPU_DEPTH_SLICE_UNDEFINED (0xffffffff) - #else // Native (macOS/Linux) using newer wgpu-native -- cgit v1.2.3