From 3978535ced28c0056d75a659c6f0835ddafac1ea Mon Sep 17 00:00:00 2001 From: Roderick Colenbrander Date: Fri, 5 Oct 2007 20:03:33 +0200 Subject: [PATCH] wined3d: Remove an unused ChoosePixelFormat line. --- dlls/wined3d/context.c | 1 - 1 file changed, 1 deletion(-) diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c index c2c1552049a..245770ead96 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)))