Added comment to SetMaterialTexture

This commit is contained in:
victorfisac 2017-07-15 16:31:40 +02:00
parent 242cb573ce
commit 15fa548d6b

View File

@ -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)
{