if(ARB_direct_state_access)
glTextureSubImage2D(id, level, x, y, wd, ht, fmt, type, data);
else
glTexSubImage2D(target, level, x, y, wd, ht, fmt, type, data);
if(ARB_direct_state_access)
glTextureSubImage2D(id, level, x, y, wd, ht, fmt, type, data);
else
glTexSubImage2D(target, level, x, y, wd, ht, fmt, type, data);