Separate texImage2D call for arrays