aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2024-10-09 18:21:10 +0200
committerAndre Weissflog <floooh@gmail.com>2024-10-14 17:31:38 +0200
commite4ac395c8f52e940ecac289b83f9a86ed8320ede (patch)
tree34bc3e9958c99b055020f2322b65cf4987ceb661
parent3244b9c21d65ba523b0f42b1fcd2a29dd515b263 (diff)
sokol_gfx.h: fix Emscripten vs Dawn webgpu.h difference
-rw-r--r--sokol_gfx.h2
1 files changed, 1 insertions, 1 deletions
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) {