Source
void activateRenderTexture(RenderTexture renderTexture) { if (!identical(renderTexture, _activeRenderTextures[0])) { _activeRenderProgram.flush(); _activeRenderTextures[0] = renderTexture; renderTexture.activate(this, gl.TEXTURE0); } }
void activateRenderTexture(RenderTexture renderTexture) { if (!identical(renderTexture, _activeRenderTextures[0])) { _activeRenderProgram.flush(); _activeRenderTextures[0] = renderTexture; renderTexture.activate(this, gl.TEXTURE0); } }