wined3d: Don't do a logical AND on the swap effect.

This commit is contained in:
Stefan Dösinger 2006-04-10 18:26:46 +02:00 committed by Alexandre Julliard
parent edfe5d68ee
commit 108688f96a
1 changed files with 1 additions and 1 deletions

View File

@ -314,7 +314,7 @@ HRESULT WINAPI IWineD3DSwapChainImpl_Present(IWineD3DSwapChain *iface, CONST REC
LEAVE_GL();
/* Although this is not strictly required, a simple demo showed this does occur
on (at least non-debug) d3d */
if (This->presentParms.SwapEffect & WINED3DSWAPEFFECT_DISCARD) {
if (This->presentParms.SwapEffect == WINED3DSWAPEFFECT_DISCARD) {
TRACE("Clearing\n");