How can I use MipMap in CsGL?
The code below doesn't work well (return an object without texture)

GL.glGenTextures(1, texture);
GL.glBindTexture(GL.GL_TEXTURE_2D, texture[0]);
GL.glTexParameteri(GL.GL_TEXTURE_2D, GL.GL_TEXTURE_MAG_FILTER, GL.GL_LINEAR);GL.glTexParameteri(GL.GL_TEXTURE_2D, GL.GL_TEXTURE_MIN_FILTER, GL.GL_LINEAR_MIPMAP_NEAREST);
unsafe {GLU.gluBuild2DMipmaps(GL.GL_TEXTURE_2D, 3, image.Width, image.Height, GL.GL_RGB8, GL.GL_UNSIGNED_BYTE, bitmapdata.Scan0.ToPointer());}