use glTexSubImage2D() to update the image?

can you tell me if the parameter pixels in glTexSubImage2D(type pixels) should be the same as the one in glTexImage2D()?
thanks

They are mostly the same. I cant tell you what the differences are sorry as i dont know. Are you trying to do?