summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-02 12:24:29 +0100
committerskal <pascal.massimino@gmail.com>2026-02-02 12:24:29 +0100
commite7fc9b3adeb37cb10726718e512b0da8dc49bc11 (patch)
treed46b2877cc17692515c9dfe90c67417c6639e4ae /src/tests
parent053b29d162e7b157cecbfcd214005a961103ad67 (diff)
fix(build): Add compatibility for older wgpu-native headers
- Added preprocessor definitions for 'WGPUOptionalBool_True' and 'WGPUOptionalBool_False' to ensure successful cross-compilation against the older wgpu-native headers used for the Windows build. - This resolves the build failures in the Windows CI/check script.
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/test_3d_render.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test_3d_render.cc b/src/tests/test_3d_render.cc
index e14ed93..a87897f 100644
--- a/src/tests/test_3d_render.cc
+++ b/src/tests/test_3d_render.cc
@@ -176,7 +176,7 @@ int main() {
PlatformState platform_state = {};
platform_init(&platform_state, false, nullptr, nullptr);
-
+
// The test's own WGPU init sequence
init_wgpu(&platform_state);