Fix definition of RenderText to match interface.