Code example for GL10

Methods: glBindTextureglTexImage2DglTexParameterfglTexSubImage2D