added if(tm==TMPerWedge) glEnable(GL_TEXTURE_2D); on line 543

This commit is contained in:
Nico Pietroni 2010-07-15 13:29:31 +00:00
parent 26709cae6c
commit ce779c0082
1 changed files with 3 additions and 0 deletions

View File

@ -539,6 +539,9 @@ void DrawFill()
glDisable(GL_TEXTURE_2D);
}
}
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.
{