added if(tm==TMPerWedge) glEnable(GL_TEXTURE_2D); on line 543
This commit is contained in:
parent
26709cae6c
commit
ce779c0082
|
@ -540,6 +540,9 @@ void DrawFill()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(tm==TMPerWedge)
|
||||||
|
glEnable(GL_TEXTURE_2D);
|
||||||
|
|
||||||
if(tm==TMPerVert && !TMId.empty()) // in the case of per vertex tex coord we assume that we have a SINGLE texture.
|
if(tm==TMPerVert && !TMId.empty()) // in the case of per vertex tex coord we assume that we have a SINGLE texture.
|
||||||
{
|
{
|
||||||
curtexname = 0;
|
curtexname = 0;
|
||||||
|
|
Loading…
Reference in New Issue