From e7fc9b3adeb37cb10726718e512b0da8dc49bc11 Mon Sep 17 00:00:00 2001 From: skal Date: Mon, 2 Feb 2026 12:24:29 +0100 Subject: 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. --- tools/spectool.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/spectool.cc b/tools/spectool.cc index 19f3a2f..3188424 100644 --- a/tools/spectool.cc +++ b/tools/spectool.cc @@ -145,7 +145,8 @@ int play_spec(const char* in_path) { synth_trigger_voice(spec_id, 0.7f, 0.0f); printf("Playing... Press Ctrl+C to exit.\n"); - while (synth_get_active_voice_count() > 0 && !platform_should_close(&platform_state)) { + while (synth_get_active_voice_count() > 0 && + !platform_should_close(&platform_state)) { platform_poll(&platform_state); } -- cgit v1.2.3