glTexImage2D(target, level, internalFormat, width, height, border, format, type, pixels)
Underlined arguments are equivalent to those for glDrawPixels
target - GL_TEXTURE_2D
level - used in mipmapping; set to 0
internalFormat - usually the same as format;
can be used for optimization
border - normally 0; set to 1 when image data includes a border
Important: The width & height of a texture image
must be powers of 2 - i.e., 2, 4, 8, 16, 32, 64, 128, 256, 512, etc.
(except when a border is used - then it's 2 plus a power of 2)