From 90e352745f026eacef1e22e39c401f764017f512 Mon Sep 17 00:00:00 2001 From: Magnus Olsen Date: Mon, 12 Nov 2007 18:20:10 +0000 Subject: [PATCH] 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 --- reactos/dll/win32/opengl32/wgl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/dll/win32/opengl32/wgl.c b/reactos/dll/win32/opengl32/wgl.c index 7c70f2e5a2f..2ede89f67e5 100644 --- a/reactos/dll/win32/opengl32/wgl.c +++ b/reactos/dll/win32/opengl32/wgl.c @@ -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() );