Fixed texture handling by changing to char array!
Fixed texture handling by changing to char array!