Searched refs:currTextureUnit (Results 1 – 1 of 1) sorted by relevance
812 unsigned int currTextureUnit = mCtx->getActiveTextureUnit(); in preDrawTextureUnitEmulation() local818 gl.glUniform1i(m_geometryDrawState.textureSamplerLoc, currTextureUnit * 2); in preDrawTextureUnitEmulation()819 gl.glUniform1i(m_geometryDrawState.textureCubeSamplerLoc, currTextureUnit * 2 + 1); in preDrawTextureUnitEmulation()821 …if (auto cubeMapTex = mCtx->getBindedTexture(currTextureUnit + GL_TEXTURE0, GL_TEXTURE_CUBE_MAP)) { in preDrawTextureUnitEmulation()824 gl.glActiveTexture(GL_TEXTURE0 + currTextureUnit * 2); in preDrawTextureUnitEmulation()826 gl.glActiveTexture(GL_TEXTURE0 + currTextureUnit * 2 + 1); in preDrawTextureUnitEmulation()828 gl.glActiveTexture(GL_TEXTURE0 + currTextureUnit * 2); in preDrawTextureUnitEmulation()856 unsigned int currTextureUnit = mCtx->getActiveTextureUnit(); in postDrawTextureUnitEmulation() local858 GLuint cubeMapTex = mCtx->getBindedTexture(currTextureUnit + GL_TEXTURE0, GL_TEXTURE_CUBE_MAP); in postDrawTextureUnitEmulation()863 gl.glActiveTexture(GL_TEXTURE0 + currTextureUnit * 2); in postDrawTextureUnitEmulation()[all …]