[rmodels] Add parenthesis around conditionals in LoadGLTF

This commit is contained in:
Caleb Heydon 2024-12-03 12:01:43 -05:00
parent 390ce391cc
commit 8fd6b8365f

View File

@ -5664,7 +5664,7 @@ static Model LoadGLTF(const char *fileName)
}
// Load primitive indices data (if provided)
if (mesh->primitives[p].indices != NULL && mesh->primitives[p].indices->buffer_view != NULL)
if ((mesh->primitives[p].indices != NULL) && (mesh->primitives[p].indices->buffer_view != NULL))
{
cgltf_accessor *attribute = mesh->primitives[p].indices;