mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
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:
@@ -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() );
|
||||
|
||||
Reference in New Issue
Block a user