[ros-diffs] [greatlrd] 30398: rosglSetPixelFormat Fixing a bug in Opengl32.dll Do not hacking ICD interface to make mesa3D happy fix the ICD interface in mesa32

greatlrd at svn.reactos.org greatlrd at svn.reactos.org
Mon Nov 12 19:20:11 CET 2007


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?rev=30398&r1=30397&r2=30398&view=diff
==============================================================================
--- 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() );




More information about the Ros-diffs mailing list