Skip to content

Commit

Permalink
sokol_gfx.h: fix Emscripten vs Dawn webgpu.h difference
Browse files Browse the repository at this point in the history
  • Loading branch information
floooh committed Oct 9, 2024
1 parent 5da5946 commit 193293c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sokol_gfx.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 193293c

Please sign in to comment.