diff --git a/bindings/bf/bgfx.bf b/bindings/bf/bgfx.bf index ba123f641..b2ebdb9fb 100644 --- a/bindings/bf/bgfx.bf +++ b/bindings/bf/bgfx.bf @@ -2215,7 +2215,7 @@ public static class bgfx public uint32 maxEncoders; public uint32 minResourceCbSize; public uint32 maxTransientVbSize; - public uint32 maxTansientIbSize; + public uint32 maxTransientIbSize; public uint32 minUniformBufferSize; } diff --git a/bindings/c3/bgfx.c3 b/bindings/c3/bgfx.c3 index a052773f6..99878579d 100644 --- a/bindings/c3/bgfx.c3 +++ b/bindings/c3/bgfx.c3 @@ -1463,7 +1463,7 @@ struct CapsLimits // Maximum transient vertex buffer size. uint maxTransientVbSize; // Maximum transient index buffer size. - uint maxTansientIbSize; + uint maxTransientIbSize; // Mimimum uniform buffer size. uint minUniformBufferSize; } diff --git a/bindings/cs/bgfx.cs b/bindings/cs/bgfx.cs index 6dc30c9b9..19ad7b144 100644 --- a/bindings/cs/bgfx.cs +++ b/bindings/cs/bgfx.cs @@ -2194,7 +2194,7 @@ public static partial class bgfx public uint maxEncoders; public uint minResourceCbSize; public uint maxTransientVbSize; - public uint maxTansientIbSize; + public uint maxTransientIbSize; public uint minUniformBufferSize; } diff --git a/bindings/d/package.d b/bindings/d/package.d index 0737b8802..b1c851f5b 100644 --- a/bindings/d/package.d +++ b/bindings/d/package.d @@ -1065,7 +1065,7 @@ extern(C++, "bgfx") struct Caps{ uint maxEncoders; ///Maximum number of encoder threads. uint minResourceCBSize; ///Minimum resource command buffer size. uint maxTransientVBSize; ///Maximum transient vertex buffer size. - uint maxTansientIBSize; ///Maximum transient index buffer size. + uint maxTransientIBSize; ///Maximum transient index buffer size. uint minUniformBufferSize; ///Mimimum uniform buffer size. } diff --git a/bindings/zig/bgfx.zig b/bindings/zig/bgfx.zig index fc8831ba0..7419cc9b0 100644 --- a/bindings/zig/bgfx.zig +++ b/bindings/zig/bgfx.zig @@ -1388,7 +1388,7 @@ pub const Caps = extern struct { maxEncoders: u32, minResourceCbSize: u32, maxTransientVbSize: u32, - maxTansientIbSize: u32, + maxTransientIbSize: u32, minUniformBufferSize: u32, }; diff --git a/include/bgfx/c99/bgfx.h b/include/bgfx/c99/bgfx.h index ba6f24ca0..615e39daf 100644 --- a/include/bgfx/c99/bgfx.h +++ b/include/bgfx/c99/bgfx.h @@ -576,7 +576,7 @@ typedef struct bgfx_caps_limits_s uint32_t maxEncoders; /** Maximum number of encoder threads. */ uint32_t minResourceCbSize; /** Minimum resource command buffer size. */ uint32_t maxTransientVbSize; /** Maximum transient vertex buffer size. */ - uint32_t maxTansientIbSize; /** Maximum transient index buffer size. */ + uint32_t maxTransientIbSize; /** Maximum transient index buffer size. */ uint32_t minUniformBufferSize; /** Mimimum uniform buffer size. */ } bgfx_caps_limits_t; @@ -1181,7 +1181,7 @@ BGFX_C_API void bgfx_topology_sort_tri_list(bgfx_topology_sort_t _sort, void* _d * Returns supported backend API renderers. * * @param[in] _max Maximum number of elements in _enum array. - * @param[inout] _enum Array where supported renderers will be written. + * @param[in,out] _enum Array where supported renderers will be written. * * @returns Number of supported renderers. * diff --git a/include/bgfx/defines.h b/include/bgfx/defines.h index 49cce3c36..180cab936 100644 --- a/include/bgfx/defines.h +++ b/include/bgfx/defines.h @@ -152,7 +152,6 @@ * */ #define BGFX_STATE_RESERVED_SHIFT 61 - #define BGFX_STATE_RESERVED_MASK UINT64_C(0xe000000000000000) /** @@ -160,7 +159,6 @@ * */ #define BGFX_STENCIL_FUNC_REF_SHIFT 0 - #define BGFX_STENCIL_FUNC_REF_MASK UINT32_C(0x000000ff) #define BGFX_STENCIL_FUNC_REF(v) ( ( (uint32_t)(v)<