diff --git a/examples/common/debugdraw/vs_debugdraw_fill.sc b/examples/common/debugdraw/vs_debugdraw_fill.sc index 41705b5a9..1317575ef 100644 --- a/examples/common/debugdraw/vs_debugdraw_fill.sc +++ b/examples/common/debugdraw/vs_debugdraw_fill.sc @@ -5,6 +5,7 @@ $input a_position, a_indices * License: https://github.com/bkaradzic/bgfx/blob/master/LICENSE */ +#define BGFX_CONFIG_MAX_BONES 2 #include void main() diff --git a/examples/common/debugdraw/vs_debugdraw_fill_lit.sc b/examples/common/debugdraw/vs_debugdraw_fill_lit.sc index 1cc0cd922..f91c61d34 100644 --- a/examples/common/debugdraw/vs_debugdraw_fill_lit.sc +++ b/examples/common/debugdraw/vs_debugdraw_fill_lit.sc @@ -6,6 +6,7 @@ $output v_view, v_world * License: https://github.com/bkaradzic/bgfx/blob/master/LICENSE */ +#define BGFX_CONFIG_MAX_BONES 2 #include void main() diff --git a/src/bgfx_shader.sh b/src/bgfx_shader.sh index 209b0951e..8fc7c0168 100644 --- a/src/bgfx_shader.sh +++ b/src/bgfx_shader.sh @@ -7,7 +7,7 @@ #define BGFX_SHADER_H_HEADER_GUARD #if !defined(BGFX_CONFIG_MAX_BONES) -# define BGFX_CONFIG_MAX_BONES 32 +# define BGFX_CONFIG_MAX_BONES 1 #endif // !defined(BGFX_CONFIG_MAX_BONES) #ifndef __cplusplus