Enable GPU skinning for GL 3.3+, (#5902)

only do GPU skinning if the shader supports bone IDs.
This commit is contained in:
Jeffery Myers 2026-06-01 11:25:09 -07:00 • committed by GitHub
commit f1d602029c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -322,7 +322,11 @@
#endif
#ifndef SUPPORT_GPU_SKINNING
// GPU skinning disabled by default, some GPUs do not support more than 8 VBOs
#define SUPPORT_GPU_SKINNING 0
#if defined (GRAPHICS_API_OPENGL_33) || defined (GRAPHICS_API_OPENGL_43)
#define SUPPORT_GPU_SKINNING 1
#else
#define SUPPORT_GPU_SKINNING 0
#endif
#endif
//------------------------------------------------------------------------------------