Eliminate extra texImage2D call.