   [OpenGL] problem with antialiasing
  Hi,I have a problem with antialiasing under Vista, It doesn't work. I've tried to google it and search for related topics here but I was unsuccessfull. I'm using GL_POLYGON_SMOOTH. Here is extract from my code:BOOL DisplayScene(){   //drawing triangle   glBegin(GL_TRIANGLES);   glVertex3f( 0.0, 0.0, -1.0 );   glVertex3f( 1.0, 0.0, -1.0 );   glVertex3f( 0.5, 1.0, -1.0 );   glEnd();}//somewhere else.. Turning on ('O') and off ('F') antialiasingswitch(message){case WM_KEYDOWN:   if(wParam == 'O')    {glEnable( GL_BLEND );glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);glEnable(GL_POLYGON_SMOOTH); glHint(GL_POINT_SMOOTH_HINT, GL_NICEST);   }   if(wParam == 'F')    {   glDisable( GL_BLEND );glDisable(GL_POLYGON_SMOOTH);   }}Here is my pixelformatdescriptor structure:static PIXEsizeof(PIXELFORMATDESCRIPTOR) pfd = {   sizeof(PIXELFORMATDESCRIPTOR),   //WORD  nSize    PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER,  //DWORD dwFlags;   PFD_TYPE_RGBA, //BYTE  iPixelType;   32,  //BYTE  cColorBits;   0//BYTE  cRedBits;   0,//BYTE  cRedShift;   0,//BYTE  cGreenBits;   0,//BYTE  cGreenShift;   0,//BYTE  cBlueBits;   0,//BYTE  cBlueShift;   16,//BYTE  cAlphaBits;   0,//BYTE  cAlphaShift;   0,//BYTE  cAccumBits;   0,//BYTE  cAccumRedBits;   0,//BYTE  cAccumGreenBits;   0,//BYTE  cAccumBlueBits;   0,//BYTE  cAccumAlphaBits;   16,//BYTE  cDepthBits;   0,//BYTE  cStencilBits;    0,//BYTE  cAuxBuffers;   PFD_MAIN_PLANE, //BYTE  iLayerType;    0,//BYTE  bReserved;   0,//DWORD dwLayerMask;   0,//DWORD dwVisibleMask;   0//DWORD dwDamageMask;}Antialiasing points and lines works well, while antialiasing polygons doesn't work at all. Can somebody help me?P.S. Sorry for bad english ; p   