From d03fbaed6de6ee827fb65004882c9f1bd45bb3ab Mon Sep 17 00:00:00 2001 From: RossMartin Date: Thu, 5 Feb 2026 23:08:28 +0100 Subject: [PATCH] Fix out of bounds Memory read in Material.Maps by using the MATERIAL_MAP_SPECULAR define instead of the SHADER_LOG_SPECULAR enum --- src/rmodels.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rmodels.c b/src/rmodels.c index ba3327bc6..6f3ae995f 100644 --- a/src/rmodels.c +++ b/src/rmodels.c @@ -7126,4 +7126,4 @@ static ModelAnimation *LoadModelAnimationsM3D(const char *fileName, int *animCou } #endif -#endif // SUPPORT_MODULE_RMODELS \ No newline at end of file +#endif // SUPPORT_MODULE_RMODELS