Set BGFX_CONFIG_MAX_BONES to 1.

This commit is contained in:
Бранимир Караџић
2025-12-22 20:23:18 -08:00
committed by Branimir Karadžić
parent 3d08ee19fc
commit 71601c6be3
3 changed files with 3 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ $input a_position, a_indices
* License: https://github.com/bkaradzic/bgfx/blob/master/LICENSE * License: https://github.com/bkaradzic/bgfx/blob/master/LICENSE
*/ */
#define BGFX_CONFIG_MAX_BONES 2
#include <bgfx_shader.sh> #include <bgfx_shader.sh>
void main() void main()

View File

@@ -6,6 +6,7 @@ $output v_view, v_world
* License: https://github.com/bkaradzic/bgfx/blob/master/LICENSE * License: https://github.com/bkaradzic/bgfx/blob/master/LICENSE
*/ */
#define BGFX_CONFIG_MAX_BONES 2
#include <bgfx_shader.sh> #include <bgfx_shader.sh>
void main() void main()

View File

@@ -7,7 +7,7 @@
#define BGFX_SHADER_H_HEADER_GUARD #define BGFX_SHADER_H_HEADER_GUARD
#if !defined(BGFX_CONFIG_MAX_BONES) #if !defined(BGFX_CONFIG_MAX_BONES)
# define BGFX_CONFIG_MAX_BONES 32 # define BGFX_CONFIG_MAX_BONES 1
#endif // !defined(BGFX_CONFIG_MAX_BONES) #endif // !defined(BGFX_CONFIG_MAX_BONES)
#ifndef __cplusplus #ifndef __cplusplus