mirror of
https://github.com/reactos/reactos.git
synced 2024-10-14 21:25:14 +00:00
These DPRINT1s are ONLY for Magnus' debuggin session.
Correcting his mistake of commiting them to the tree. (taskmgr.exe should work again) svn path=/trunk/; revision=24021
This commit is contained in:
parent
b52f7b069b
commit
098292d473
|
@ -1069,25 +1069,25 @@ NtGdiSetPixel(
|
|||
COLORREF Color)
|
||||
{
|
||||
|
||||
DPRINT1("0 NtGdiSetPixel X %ld Y %ld C %ld\n",X,Y,Color);
|
||||
DPRINT("0 NtGdiSetPixel X %ld Y %ld C %ld\n",X,Y,Color);
|
||||
|
||||
if (((Color>>24) & 0xff)<0x10)
|
||||
{
|
||||
Color = ((Color>>16) & 0x0000ff) | ((Color<<16) & 0xff0000) | (Color & 0x00ff00);
|
||||
}
|
||||
|
||||
DPRINT1("0 NtGdiSetPixel X %ld Y %ld C %ld\n",X,Y,Color);
|
||||
DPRINT("0 NtGdiSetPixel X %ld Y %ld C %ld\n",X,Y,Color);
|
||||
|
||||
if (NtGdiSetPixelV(hDC,X,Y,Color))
|
||||
{
|
||||
Color = NtGdiGetPixel(hDC,X,Y);
|
||||
DPRINT1("1 NtGdiSetPixel X %ld Y %ld C %ld\n",X,Y,Color);
|
||||
DPRINT("1 NtGdiSetPixel X %ld Y %ld C %ld\n",X,Y,Color);
|
||||
return Color;
|
||||
|
||||
}
|
||||
|
||||
Color = ((COLORREF) -1);
|
||||
DPRINT1("2 NtGdiSetPixel X %ld Y %ld C %ld\n",X,Y,Color);
|
||||
DPRINT("2 NtGdiSetPixel X %ld Y %ld C %ld\n",X,Y,Color);
|
||||
return Color;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue