if(ARB_direct_state_access)
glTextureSubImage1D(id, level, x, wd, fmt, type, data);
else
glTexSubImage1D(target, level, x, wd, fmt, type, data);
if(ARB_direct_state_access)
glTextureSubImage1D(id, level, x, wd, fmt, type, data);
else
glTexSubImage1D(target, level, x, wd, fmt, type, data);