Minor optomisation to prevent unnecessary texture creation.