Testing texture loading with raw array