Author: greatlrd
Date: Mon Nov 12 21:20:10 2007
New Revision: 30398
URL:
http://svn.reactos.org/svn/reactos?rev=30398&view=rev
Log:
rosglSetPixelFormat
Fixing a bug in Opengl32.dll Do not hacking ICD interface to make mesa3D happy fix the
ICD interface in mesa32
Modified:
trunk/reactos/dll/win32/opengl32/wgl.c
Modified: trunk/reactos/dll/win32/opengl32/wgl.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/opengl32/wgl.c?r…
==============================================================================
--- trunk/reactos/dll/win32/opengl32/wgl.c (original)
+++ trunk/reactos/dll/win32/opengl32/wgl.c Mon Nov 12 21:20:10 2007
@@ -1011,7 +1011,7 @@
}
/* call ICD */
- if (!icd->DrvSetPixelFormat( hdc, iFormat/*, pfd*/ ))
+ if (!icd->DrvSetPixelFormat( hdc, iFormat, pfd ))
{
DBGPRINT( "Warning: DrvSetPixelFormat(format=%d) failed (%d)",
iFormat, GetLastError() );