summaryrefslogtreecommitdiff
path: root/src/gpu/gpu.h
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-01-31 22:30:42 +0100
committerskal <pascal.massimino@gmail.com>2026-01-31 22:30:42 +0100
commit96daafc92d0507421b859783538512317eefb72c (patch)
treeae67e24c6a388a640a5b6148356939ced92c0214 /src/gpu/gpu.h
parent25e693cc46324b4ec588530de542bba8af6f47c6 (diff)
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.
Diffstat (limited to 'src/gpu/gpu.h')
-rw-r--r--src/gpu/gpu.h2
1 files changed, 0 insertions, 2 deletions
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