diff options
| author | Andre Weissflog <floooh@gmail.com> | 2025-09-21 11:46:28 +0200 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2025-09-21 11:46:28 +0200 |
| commit | b341b11badf32ad421c61c45581f724c4fbdcb97 (patch) | |
| tree | cced9d519175c4ec96be13ff6e77ec3ab7b5c7fc | |
| parent | 0bb04c71066bee1e991805e4fbfe41919144a956 (diff) | |
sokol_gfx.h wgpu: remove unused define
| -rw-r--r-- | sokol_gfx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sokol_gfx.h b/sokol_gfx.h index ab6c2802..f62c52b8 100644 --- a/sokol_gfx.h +++ b/sokol_gfx.h @@ -15860,7 +15860,6 @@ _SOKOL_PRIVATE void _sg_mtl_pop_debug_group(void) { // >>wgpu #elif defined(SOKOL_WGPU) -#define WGPUSType_ShaderModuleWGSLDescriptor WGPUSType_ShaderSourceWGSL _SOKOL_PRIVATE WGPUStringView _sg_wgpu_stringview(const char* str) { WGPUStringView res; if (str) { @@ -15872,6 +15871,7 @@ _SOKOL_PRIVATE WGPUStringView _sg_wgpu_stringview(const char* str) { } return res; } + _SOKOL_PRIVATE WGPUOptionalBool _sg_wgpu_optional_bool(bool b) { return b ? WGPUOptionalBool_True : WGPUOptionalBool_False; } |