mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[DXG] Fix a Clang-Cl warning about DDHAL_CB32_CANCREATESURFACE
"warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]" CORE-14306
This commit is contained in:
parent
71ebfd8717
commit
b789161199
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ DxDdCanCreateSurface(
|
|||
// assign out DirectDrawGlobal to SurfaceData
|
||||
SurfaceData->lpDD = (PDD_DIRECTDRAW_GLOBAL)peDdGl;
|
||||
|
||||
if (peDdGl->ddCallbacks.dwFlags && DDHAL_CB32_CANCREATESURFACE)
|
||||
if (peDdGl->ddCallbacks.dwFlags & DDHAL_CB32_CANCREATESURFACE)
|
||||
{
|
||||
RetVal = peDdGl->ddCallbacks.CanCreateSurface(SurfaceData);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue