mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 17:56:00 +00:00
[GDI32_APITEST]
Fix warnings svn path=/trunk/; revision=56499
This commit is contained in:
parent
92d1183079
commit
5b92fc6b91
3 changed files with 1 additions and 3 deletions
|
@ -29,7 +29,6 @@ void Test_CreateDIBPatternBrushPt()
|
||||||
{0, 1, 2, 7},
|
{0, 1, 2, 7},
|
||||||
{0,1,2,3, 1,2,3,0, 2,3,0,1, 3,0,1,2},
|
{0,1,2,3, 1,2,3,0, 2,3,0,1, 3,0,1,2},
|
||||||
};
|
};
|
||||||
PBITMAPINFO pbmi = (PBITMAPINFO)&PackedDIB;
|
|
||||||
HBRUSH hbr, hbrOld;
|
HBRUSH hbr, hbrOld;
|
||||||
HPALETTE hpalOld;
|
HPALETTE hpalOld;
|
||||||
|
|
||||||
|
|
|
@ -349,7 +349,6 @@ Test_DIBBrush(void)
|
||||||
{1, 7, 3, 1},
|
{1, 7, 3, 1},
|
||||||
{0,1,2,3, 1,2,3,0, 2,3,0,1, 3,0,1,2},
|
{0,1,2,3, 1,2,3,0, 2,3,0,1, 3,0,1,2},
|
||||||
};
|
};
|
||||||
PBITMAPINFO pbmi = (PBITMAPINFO)&PackedDIB;
|
|
||||||
LOGBRUSH logbrush;
|
LOGBRUSH logbrush;
|
||||||
HBRUSH hBrush;
|
HBRUSH hBrush;
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ struct
|
||||||
BOOL InitStuff(void)
|
BOOL InitStuff(void)
|
||||||
{
|
{
|
||||||
BITMAPINFO bmi32 =
|
BITMAPINFO bmi32 =
|
||||||
{{sizeof(BITMAPINFOHEADER), 4, -4, 1, 32, BI_RGB, 0, 1, 1, 0, 0}, {0}};
|
{{sizeof(BITMAPINFOHEADER), 4, -4, 1, 32, BI_RGB, 0, 1, 1, 0, 0}};
|
||||||
|
|
||||||
ghdcDIB32 = CreateCompatibleDC(0);
|
ghdcDIB32 = CreateCompatibleDC(0);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue