Hi!
I’m having a problem using glGenTextures. According to the documentation, if I declare this:
#define NTEXTURES 4
GLuint texture[NTEXTURES];
and later on I do this:
glGenTextures(NTEXTURES, texture);
I should be getting in the texture array 8 different integers, right?
Well, that doesn’t work for me, and I dunno why all the sentences are outide any glBegin/glEnd block.
Any idea?