mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
[WIN32SS} So ehm DBG is always defined to 0 or 1 (unless one messes around with it, like in Uniata...) so consistently check with #if and not #ifdef or else debug code gets in the free build.
svn path=/trunk/; revision=69290
This commit is contained in:
@@ -34,7 +34,7 @@ enum _DCFLAGS
|
||||
DC_IN_CLONEPDEV = 0x1000,
|
||||
DC_REDIRECTION = 0x2000,
|
||||
DC_SHAREACCESS = 0x4000,
|
||||
#ifdef DBG
|
||||
#if DBG
|
||||
DC_PREPARED = 0x8000
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -556,7 +556,7 @@ DC_vPrepareDCsForBlit(
|
||||
prcFirst->bottom) ;
|
||||
}
|
||||
|
||||
#ifdef DBG
|
||||
#if DBG
|
||||
pdcFirst->fs |= DC_PREPARED;
|
||||
#endif
|
||||
|
||||
@@ -586,7 +586,7 @@ DC_vPrepareDCsForBlit(
|
||||
prcSecond->bottom) ;
|
||||
}
|
||||
|
||||
#ifdef DBG
|
||||
#if DBG
|
||||
pdcSecond->fs |= DC_PREPARED;
|
||||
#endif
|
||||
}
|
||||
@@ -601,7 +601,7 @@ DC_vFinishBlit(PDC pdc1, PDC pdc2)
|
||||
MouseSafetyOnDrawEnd(pdc1->ppdev);
|
||||
EngReleaseSemaphore(pdc1->ppdev->hsemDevLock);
|
||||
}
|
||||
#ifdef DBG
|
||||
#if DBG
|
||||
pdc1->fs &= ~DC_PREPARED;
|
||||
#endif
|
||||
|
||||
@@ -612,7 +612,7 @@ DC_vFinishBlit(PDC pdc1, PDC pdc2)
|
||||
MouseSafetyOnDrawEnd(pdc2->ppdev);
|
||||
EngReleaseSemaphore(pdc2->ppdev->hsemDevLock);
|
||||
}
|
||||
#ifdef DBG
|
||||
#if DBG
|
||||
pdc2->fs &= ~DC_PREPARED;
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user