Remove warnings; Add texture flags.