mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Set BGFX_CONFIG_MAX_BONES to 1.
This commit is contained in:
committed by
Branimir Karadžić
parent
3d08ee19fc
commit
71601c6be3
@@ -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()
|
||||||
|
|||||||
@@ -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()
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user