This function will be replace by geometry shader, but we need this fix until the shader will be ready. The problem is similar to T49614.
This function will be replace by geometry shader, but we need this fix until the shader will be ready. The problem is similar to T49614.