Remove old texture code