summaryrefslogtreecommitdiff
path: root/tools
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 /tools
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 'tools')
-rw-r--r--tools/spectool.cc3
1 files changed, 2 insertions, 1 deletions
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);
}