wined3d: Remove an unused ChoosePixelFormat line.

oldstable
Roderick Colenbrander 2007-10-05 20:03:33 +02:00 committed by Alexandre Julliard
parent b6951822c1
commit 3978535ced
1 changed files with 0 additions and 1 deletions

View File

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