[PATCH] Remove an unused ChoosePixelFormat line.

Roderick Colenbrander thunderbird2k at gmx.net
Fri Oct 5 13:03:33 CDT 2007


---
 dlls/wined3d/context.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c
index c2c1552..245770e 100644
--- a/dlls/wined3d/context.c
+++ b/dlls/wined3d/context.c
@@ -248,7 +248,6 @@ WineD3DContext *CreateContext(IWineD3DDeviceImpl *This, IWineD3DSurfaceImpl *tar
         }
 
         PUSH1(0); /* end the list */
-        iPixelFormat = ChoosePixelFormat(hdc, &pfd);
 
         /* In case of failure hope that standard ChooosePixelFormat will find something suitable */
         if(!GL_EXTCALL(wglChoosePixelFormatARB(hdc, (const int*)&attribs, NULL, 1, &iPixelFormat, &nFormats)))
-- 
1.5.1.3


--========GMX105201191607687999264--



More information about the wine-patches mailing list