Searched refs:lastUnitIdx (Results 1 – 2 of 2) sorted by relevance
2404 int lastUnitIdx = fHWBoundTextures.count() - 1; in setScratchTextureUnit() local2405 if (lastUnitIdx != fHWActiveTextureUnitIdx) { in setScratchTextureUnit()2406 GL_CALL(ActiveTexture(GR_GL_TEXTURE0 + lastUnitIdx)); in setScratchTextureUnit()2407 fHWActiveTextureUnitIdx = lastUnitIdx; in setScratchTextureUnit()2411 fHWBoundTextures[lastUnitIdx] = NULL; in setScratchTextureUnit()