By default, GL will create up to 100 levels of mipmap until the texture is only 1x1px unless otherwise limited, and the current rendering code makes no efforts to limit this.
Given that the typical LegacyCSL texture is practically useless at 1x1, we should limit mipmapping to something more reasonable.