Fixed a big in OGLES driver
parent
76827bb508
commit
1312fe9017
|
@ -1,4 +1,6 @@
|
||||||
.svn
|
.svn
|
||||||
build/
|
build/
|
||||||
|
*/build/
|
||||||
xcuserdata/
|
xcuserdata/
|
||||||
project.xcworkspace/
|
project.xcworkspace/
|
||||||
|
lib/
|
||||||
|
|
|
@ -2028,6 +2028,8 @@ void COGLES1Driver::setBasicRenderStates(const SMaterial& material, const SMater
|
||||||
// Filtering has to be set for each texture layer
|
// Filtering has to be set for each texture layer
|
||||||
for (u32 i=0; i<MaxTextureUnits; ++i)
|
for (u32 i=0; i<MaxTextureUnits; ++i)
|
||||||
{
|
{
|
||||||
|
if(!CurrentTexture[i])
|
||||||
|
continue;
|
||||||
if (MultiTextureExtension)
|
if (MultiTextureExtension)
|
||||||
extGlActiveTexture(GL_TEXTURE0 + i);
|
extGlActiveTexture(GL_TEXTURE0 + i);
|
||||||
else if (i>0)
|
else if (i>0)
|
||||||
|
|
Loading…
Reference in New Issue