https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e16dc27e476e922351834…
commit e16dc27e476e922351834dc49cfd33f64a7777a9
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Fri Sep 13 23:04:41 2024 +0200
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Thu Jan 23 20:23:30 2025 +0100
[WIN32SS:ENG:GDI] bitblt(_new).c: Use correct debug channel "GdiBlt"
---
win32ss/gdi/eng/bitblt_new.c | 2 +-
win32ss/gdi/ntgdi/bitblt.c | 16 +++++++---------
2 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/win32ss/gdi/eng/bitblt_new.c b/win32ss/gdi/eng/bitblt_new.c
index d97886626ad..0a2c86c1003 100644
--- a/win32ss/gdi/eng/bitblt_new.c
+++ b/win32ss/gdi/eng/bitblt_new.c
@@ -1,7 +1,7 @@
#include <win32k.h>
#include "../diblib/DibLib_interface.h"
-DBG_DEFAULT_CHANNEL(GdiFont);
+DBG_DEFAULT_CHANNEL(GdiBlt);
#define SURFOBJ_flags(pso) (CONTAINING_RECORD(pso, SURFACE, SurfObj)->flags)
diff --git a/win32ss/gdi/ntgdi/bitblt.c b/win32ss/gdi/ntgdi/bitblt.c
index 033fcf6421f..2462cef83a8 100644
--- a/win32ss/gdi/ntgdi/bitblt.c
+++ b/win32ss/gdi/ntgdi/bitblt.c
@@ -7,8 +7,6 @@
*/
#include <win32k.h>
-#define NDEBUG
-#include <debug.h>
DBG_DEFAULT_CHANNEL(GdiBlt);
BOOL APIENTRY
@@ -491,11 +489,11 @@ NtGdiMaskBlt(
XlateObj = &exlo.xlo;
}
- DPRINT("DestRect: (%d,%d)-(%d,%d) and SourcePoint is (%d,%d)\n",
- DestRect.left, DestRect.top, DestRect.right, DestRect.bottom,
- SourcePoint.x, SourcePoint.y);
+ TRACE("DestRect: (%d,%d)-(%d,%d) and SourcePoint is (%d,%d)\n",
+ DestRect.left, DestRect.top, DestRect.right, DestRect.bottom,
+ SourcePoint.x, SourcePoint.y);
- DPRINT("nWidth is '%d' and nHeight is '%d'.\n", nWidth,
nHeight);
+ TRACE("nWidth is '%d' and nHeight is '%d'.\n", nWidth,
nHeight);
/* Fix BitBlt so that it will not flip left to right */
if ((DestRect.left > DestRect.right) && (nWidth < 0))
@@ -767,9 +765,9 @@ GreStretchBltMask(
MaskPoint.y += DCMask->ptlDCOrig.y;
}
- DPRINT("Calling IntEngStrethBlt SourceRect: (%d,%d)-(%d,%d) and DestRect:
(%d,%d)-(%d,%d).\n",
- SourceRect.left, SourceRect.top, SourceRect.right, SourceRect.bottom,
- DestRect.left, DestRect.top, DestRect.right, DestRect.bottom);
+ TRACE("Calling IntEngStrethBlt SourceRect: (%d,%d)-(%d,%d) and DestRect:
(%d,%d)-(%d,%d).\n",
+ SourceRect.left, SourceRect.top, SourceRect.right, SourceRect.bottom,
+ DestRect.left, DestRect.top, DestRect.right, DestRect.bottom);
/* Perform the bitblt operation */
Status = IntEngStretchBlt(&BitmapDest->SurfObj,