mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 22:13:06 +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
|
// assign out DirectDrawGlobal to SurfaceData
|
||||||
SurfaceData->lpDD = (PDD_DIRECTDRAW_GLOBAL)peDdGl;
|
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);
|
RetVal = peDdGl->ddCallbacks.CanCreateSurface(SurfaceData);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue