Roderick Colenbrander : wined3d: Remove an unused ChoosePixelFormat line.

Alexandre Julliard julliard at winehq.org
Tue Oct 9 13:37:28 CDT 2007


Module: wine
Branch: master
Commit: 3978535ced28c0056d75a659c6f0835ddafac1ea
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3978535ced28c0056d75a659c6f0835ddafac1ea

Author: Roderick Colenbrander <thunderbird2k at gmx.net>
Date:   Fri Oct  5 20:03:33 2007 +0200

wined3d: Remove an unused ChoosePixelFormat line.

---

 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)))




More information about the wine-cvs mailing list