From 193293c0421b64e842e7a1116595699bbe83c124 Mon Sep 17 00:00:00 2001 From: Andre Weissflog Date: Wed, 9 Oct 2024 18:21:10 +0200 Subject: [PATCH] sokol_gfx.h: fix Emscripten vs Dawn webgpu.h difference --- sokol_gfx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sokol_gfx.h b/sokol_gfx.h index fa7791685..9a7d632fb 100644 --- a/sokol_gfx.h +++ b/sokol_gfx.h @@ -13399,7 +13399,7 @@ _SOKOL_PRIVATE WGPUOptionalBool _sg_wgpu_optional_bool(bool b) { } #else #define _sg_wgpu_stringview(str) str -#define _sg_wgpu_optional_bool(bool b) (b) +#define _sg_wgpu_optional_bool(b) (b) #endif _SOKOL_PRIVATE WGPUBufferUsage _sg_wgpu_buffer_usage(sg_buffer_type t, sg_usage u) {