Use correct texture() in core.