GLint _l_e_v_e_l, GLint _x_o_f_f_s_e_t, GLsizei _w_i_d_t_h, GLenum _f_o_r_m_a_t, GLenum _t_y_p_e, const GLvoid _*_p_i_x_e_l_s )
delim $$
ggllTTeexxSSuubbIImmaaggee11DD redefines a contiguous subregion of an existing one-dimensional texture image. The texels referenced by _p_i_x_e_l_s replace the portion of the existing texture array with x indices _x_o_f_f_s_e_t and $"xoffset"~+~"width"~-~1$,inclusive. This region may not include any texels outside the range of the texture array as it was originally specified. It is not an error to specify a subtexture with width of 0, but such a specification has no effect.
Texturing has no effect in color index mode.
ggllPPiixxeellSSttoorree and ggllPPiixxeellTTrraannssffeerr modes affect texture images in exactly the way they affect ggllDDrraawwPPiixxeellss.
Formats GGLL__BBGGRR, and GGLL__BBGGRRAA and types GGLL__UUNNSSIIGGNNEEDD__BBYYTTEE__33__33__22, GGLL__UUNNSSIIGGNNEEDD__BBYYTTEE__22__33__33__RREEVV, GGLL__UUNNSSIIGGNNEEDD__SSHHOORRTT__55__66__55, GGLL__UUNNSSIIGGNNEEDD__SSHHOORRTT__55__66__55__RREEVV, GGLL__UUNNSSIIGGNNEEDD__SSHHOORRTT__44__44__44__44, GGLL__UUNNSSIIGGNNEEDD__SSHHOORRTT__44__44__44__44__RREEVV, GGLL__UUNNSSIIGGNNEEDD__SSHHOORRTT__55__55__55__11, GGLL__UUNNSSIIGGNNEEDD__SSHHOORRTT__11__55__55__55__RREEVV, GGLL__UUNNSSIIGGNNEEDD__IINNTT__88__88__88__88, GGLL__UUNNSSIIGGNNEEDD__IINNTT__88__88__88__88__RREEVV, GGLL__UUNNSSIIGGNNEEDD__IINNTT__1100__1100__1100__22, and GGLL__UUNNSSIIGGNNEEDD__IINNTT__22__1100__1100__1100__RREEVV are available only if the GL version is 1.2 or greater.
When the GGLL__AARRBB__mmuullttiitteexxttuurree extension is supported, ggllTTeexxSSuubbIImmaaggee11DD specifies a one-dimensional sub texture for the current texture unit, specified with ggllAAccttiivveeTTeexxttuurreeAARRBB.
When the GGLL__AARRBB__iimmaaggiinngg extension is supported, the RGBA components specified in _p_i_x_e_l_s may be processed by the imaging pipeline. See ggllTTeexxIImmaaggee11DD for specific details.
GGLL__IINNVVAALLIIDD__OOPPEERRAATTIIOONN is generated if the texture array has not been defined by a previous ggllTTeexxIImmaaggee11DD operation.
GGLL__IINNVVAALLIIDD__VVAALLUUEE is generated if _l_e_v_e_l is less than 0.
GGLL__IINNVVAALLIIDD__VVAALLUUEE may be generated if _l_e_v_e_l is greater than $log sub 2$_m_a_x, where _m_a_x is the returned value of GGLL__MMAAXX__TTEEXXTTUURREE__SSIIZZEE.
GGLL__IINNVVAALLIIDD__VVAALLUUEE is generated if $"xoffset" ~<~ ~-b$, or if $("xoffset"~+~"width") ~>~ (w ~-~ b)$, where $w$ is the GGLL__TTEEXXTTUURREE__WWIIDDTTHH, and $b$ is the width of the GGLL__TTEEXXTTUURREE__BBOORRDDEERR of the texture image being modified. Note that $w$ includes twice the border width.
GGLL__IINNVVAALLIIDD__VVAALLUUEE is generated if _w_i_d_t_h is less than 0.
GGLL__IINNVVAALLIIDD__EENNUUMM is generated if _f_o_r_m_a_t is not an accepted constant.
GGLL__IINNVVAALLIIDD__EENNUUMM is generated if _t_y_p_e is not a type constant.
GGLL__IINNVVAALLIIDD__EENNUUMM is generated if _t_y_p_e is GGLL__BBIITTMMAAPP and _f_o_r_m_a_t is not GGLL__CCOOLLOORR__IINNDDEEXX.
GGLL__IINNVVAALLIIDD__OOPPEERRAATTIIOONN is generated if ggllTTeexxSSuubbIImmaaggee11DD is executed between the execution of ggllBBeeggiinn and the corresponding execution of ggllEEnndd.
GGLL__IINNVVAALLIIDD__OOPPEERRAATTIIOONN is generated if _t_y_p_e is one of GGLL__UUNNSSIIGGNNEEDD__BBYYTTEE__33__33__22, GGLL__UUNNSSIIGGNNEEDD__BBYYTTEE__22__33__33__RREEVV, GGLL__UUNNSSIIGGNNEEDD__SSHHOORRTT__55__66__55, or GGLL__UUNNSSIIGGNNEEDD__SSHHOORRTT__55__66__55__RREEVV and _f_o_r_m_a_t is not GGLL__RRGGBB.
GGLL__IINNVVAALLIIDD__OOPPEERRAATTIIOONN is generated if _t_y_p_e is one of GGLL__UUNNSSIIGGNNEEDD__SSHHOORRTT__44__44__44__44, GGLL__UUNNSSIIGGNNEEDD__SSHHOORRTT__44__44__44__44__RREEVV, GGLL__UUNNSSIIGGNNEEDD__SSHHOORRTT__55__55__55__11, GGLL__UUNNSSIIGGNNEEDD__SSHHOORRTT__11__55__55__55__RREEVV, GGLL__UUNNSSIIGGNNEEDD__IINNTT__88__88__88__88, GGLL__UUNNSSIIGGNNEEDD__IINNTT__88__88__88__88__RREEVV, GGLL__UUNNSSIIGGNNEEDD__IINNTT__1100__1100__1100__22, or GGLL__UUNNSSIIGGNNEEDD__IINNTT__22__1100__1100__1100__RREEVV and _f_o_r_m_a_t is neither GGLL__RRGGBBAA nor GGLL__BBGGRRAA.