- Revert 49927 "Update to trunk" as it breaks KsStudio (again)
[reactos.git] / dll / win32 / gdi32 / misc / wingl.c
index b20ac7e..5373c6f 100644 (file)
@@ -166,10 +166,6 @@ SetPixelFormat(HDC  hdc,
                INT  iPixelFormat,
                CONST PIXELFORMATDESCRIPTOR * ppfd)
 {
-  /* Can only be set once */
-  INT current = GetPixelFormat(hdc);
-  if(current) return current == iPixelFormat ;
-  
   if (glSetPixelFormat == NULL)
     if (OpenGLEnable() == FALSE)
       return(0);