Fixed a big in OGLES driver

master
Chris 2011-11-20 21:07:51 +08:00
parent 76827bb508
commit 1312fe9017
2 changed files with 4 additions and 0 deletions

2
.gitignore vendored
View File

@ -1,4 +1,6 @@
.svn
build/
*/build/
xcuserdata/
project.xcworkspace/
lib/

View File

@ -2028,6 +2028,8 @@ void COGLES1Driver::setBasicRenderStates(const SMaterial& material, const SMater
// Filtering has to be set for each texture layer
for (u32 i=0; i<MaxTextureUnits; ++i)
{
if(!CurrentTexture[i])
continue;
if (MultiTextureExtension)
extGlActiveTexture(GL_TEXTURE0 + i);
else if (i>0)