wined3d: Remove an unused ChoosePixelFormat line.
This commit is contained in:
parent
b6951822c1
commit
3978535ced
|
@ -248,7 +248,6 @@ WineD3DContext *CreateContext(IWineD3DDeviceImpl *This, IWineD3DSurfaceImpl *tar
|
||||||
}
|
}
|
||||||
|
|
||||||
PUSH1(0); /* end the list */
|
PUSH1(0); /* end the list */
|
||||||
iPixelFormat = ChoosePixelFormat(hdc, &pfd);
|
|
||||||
|
|
||||||
/* In case of failure hope that standard ChooosePixelFormat will find something suitable */
|
/* In case of failure hope that standard ChooosePixelFormat will find something suitable */
|
||||||
if(!GL_EXTCALL(wglChoosePixelFormatARB(hdc, (const int*)&attribs, NULL, 1, &iPixelFormat, &nFormats)))
|
if(!GL_EXTCALL(wglChoosePixelFormatARB(hdc, (const int*)&attribs, NULL, 1, &iPixelFormat, &nFormats)))
|
||||||
|
|
Loading…
Reference in New Issue