problem in drawing a texture image(monochrome image)

Hi,
after i have initialize the propertises of my texture (width, height…), i do :
gluBuild2DMipmaps(GL_TEXTURE_2D,
1,
m_Texture.GetWidthTex(),
m_Texture.GetHeightTex(),
GL_LUMINANCE,
GL_UNSIGNED_BYTE,
m_Texture.GetImageData());

the problem is that nothing is shown; but with “glDrawPixels” (with the same parameters)there is no problem.
can anyone help me plz

Building a mipmap does not draw it to the rendering context. You also need to use glTexImage2D and bind it and have some polygon(s) with tex coords, etc.