From e4ac395c8f52e940ecac289b83f9a86ed8320ede Mon Sep 17 00:00:00 2001 From: Andre Weissflog Date: Wed, 9 Oct 2024 18:21:10 +0200 Subject: 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 29d1b0fb..a52b27ba 100644 --- a/sokol_gfx.h +++ b/sokol_gfx.h @@ -13402,7 +13402,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) { -- cgit v1.2.3