Arrays?
When I pass an array, its always a pointer to the array isn't it?
so In NeHe Tut6 (for example)
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, TexWidth, TexHeight, 0, GL_RGBA, GL_UNSIGNED_BYTE, Checkimage)
(Checkimage is Global Checkimage:Byte[256,256,4])
I am definately sending a pointer to Checkimage?
When I pass an array, its always a pointer to the array isn't it?
so In NeHe Tut6 (for example)
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, TexWidth, TexHeight, 0, GL_RGBA, GL_UNSIGNED_BYTE, Checkimage)
(Checkimage is Global Checkimage:Byte[256,256,4])
I am definately sending a pointer to Checkimage?