Switched to FreeImage for texture loading