rosglSetPixelFormat

Fixing a bug in Opengl32.dll Do not hacking ICD interface to make mesa3D happy fix the 
ICD interface in mesa32 

svn path=/trunk/; revision=30398
This commit is contained in:
Magnus Olsen 2007-11-12 18:20:10 +00:00
parent 27b7b817fd
commit 90e352745f

View file

@ -1011,7 +1011,7 @@ rosglSetPixelFormat( HDC hdc, int iFormat, CONST PIXELFORMATDESCRIPTOR *pfd )
}
/* call ICD */
if (!icd->DrvSetPixelFormat( hdc, iFormat/*, pfd*/ ))
if (!icd->DrvSetPixelFormat( hdc, iFormat, pfd ))
{
DBGPRINT( "Warning: DrvSetPixelFormat(format=%d) failed (%d)",
iFormat, GetLastError() );