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

This reverts commit f1d602029c.
This commit is contained in:
Ray
2026-06-01 20:42:48 +02:00
parent 90edc3b0a5
commit f421b74c0f
2 changed files with 2 additions and 9 deletions

View File

@@ -2487,12 +2487,9 @@ static void UpdateModelAnimationVertexBuffers(Model model)
float boneWeight = 0.0f;
bool bufferUpdateRequired = false; // Flag to check when anim vertex information is updated
#if defined (SUPPORT_GPU_SKINNING)
Material material = model.materials[model.meshMaterial[m]];
// Skip if missing bone data or missing anim buffers initialization
if ((material.shader.locs[SHADER_LOC_VERTEX_BONEIDS] != -1) && (mesh.boneWeights == NULL) || (mesh.boneIndices == NULL) ||
if ((mesh.boneWeights == NULL) || (mesh.boneIndices == NULL) ||
(mesh.animVertices == NULL) || (mesh.animNormals == NULL)) continue;
#endif
for (int vCounter = 0; vCounter < vertexValuesCount; vCounter += 3)
{