Hello,
according to the opengl 3.2 api quick reference card,
texture formats GL_LUMINANCEn have been removed. So
I set instead GL_INTENSITY. But when I call glTexImage2D
I get the error (1280 - INVALID_ENUM).
My settings are
glTexImage2D(GL_TEXTURE_2D, 0, GL_INTENSITY8, width,height,0, GL_INTENSITY, GL_UNSIGNED_BYTE, dataPtr);
So, where is the problem ?
regards,
lobbel