Added comment to SetMaterialTexture
This commit is contained in:
parent
242cb573ce
commit
15fa548d6b
|
|
@ -1369,6 +1369,7 @@ void SetMaterialTexture(Material *mat, int texmapType, Texture2D texture)
|
||||||
{
|
{
|
||||||
mat->maps[texmapType].tex = texture;
|
mat->maps[texmapType].tex = texture;
|
||||||
|
|
||||||
|
// Update MaterialProperty use sampler state to use texture fetch instead of color attribute
|
||||||
int location = -1;
|
int location = -1;
|
||||||
switch (texmapType)
|
switch (texmapType)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user