wined3d: Fixed a operator precedence issue (Coverity).

This commit is contained in:
Marcus Meissner 2011-05-05 15:47:54 +02:00 committed by Alexandre Julliard
parent a09829bd4d
commit 49828372c1
1 changed files with 1 additions and 1 deletions

View File

@ -2049,7 +2049,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_Init3D(IWineD3DDevice *iface,
/* Clear the screen */ /* Clear the screen */
IWineD3DDevice_Clear((IWineD3DDevice *) This, 0, NULL, IWineD3DDevice_Clear((IWineD3DDevice *) This, 0, NULL,
WINED3DCLEAR_TARGET | pPresentationParameters->EnableAutoDepthStencil ? WINED3DCLEAR_ZBUFFER | WINED3DCLEAR_STENCIL : 0, WINED3DCLEAR_TARGET | (pPresentationParameters->EnableAutoDepthStencil ? WINED3DCLEAR_ZBUFFER | WINED3DCLEAR_STENCIL : 0),
0x00, 1.0f, 0); 0x00, 1.0f, 0);
This->d3d_initialized = TRUE; This->d3d_initialized = TRUE;