d3dx9_36: Fix a logical operator typo.

This commit is contained in:
Andrew Talbot 2011-08-27 17:42:33 +01:00 committed by Alexandre Julliard
parent f2e922c726
commit 8e9fabfa87
1 changed files with 1 additions and 1 deletions

View File

@ -328,7 +328,7 @@ HRESULT WINAPI D3DXLoadSurfaceFromFileInMemory(LPDIRECT3DSURFACE9 pDestSurface,
TRACE("(%p, %p, %p, %p, %d, %p, %d, %x, %p)\n", pDestSurface, pDestPalette, pDestRect, pSrcData,
SrcDataSize, pSrcRect, dwFilter, Colorkey, pSrcInfo);
if (!pDestSurface || !pSrcData | !SrcDataSize)
if (!pDestSurface || !pSrcData || !SrcDataSize)
return D3DERR_INVALIDCALL;
hr = D3DXGetImageInfoFromFileInMemory(pSrcData, SrcDataSize, &imginfo);