From 15fa548d6baa24b4ed89cc3ad6c37ed3be99f2cf Mon Sep 17 00:00:00 2001 From: victorfisac Date: Sat, 15 Jul 2017 16:31:40 +0200 Subject: [PATCH] Added comment to SetMaterialTexture --- src/models.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/models.c b/src/models.c index 62494dcfb..6f1955200 100644 --- a/src/models.c +++ b/src/models.c @@ -1369,6 +1369,7 @@ void SetMaterialTexture(Material *mat, int texmapType, Texture2D texture) { mat->maps[texmapType].tex = texture; + // Update MaterialProperty use sampler state to use texture fetch instead of color attribute int location = -1; switch (texmapType) {