gdiplus: Comment out a test that crashes some gdiplus implementations.
This commit is contained in:
parent
39f80e56fb
commit
bd1adf9e0b
|
@ -1786,10 +1786,13 @@ static void test_getsetpixel(void)
|
|||
broken(stat == Ok), /* Older gdiplus */
|
||||
"Expected InvalidParameter, got %.8x\n", stat);
|
||||
|
||||
if (0) /* crashes some gdiplus implementations */
|
||||
{
|
||||
stat = GdipBitmapSetPixel(bitmap, 1, -1, 0);
|
||||
ok(stat == InvalidParameter ||
|
||||
broken(stat == Ok), /* Older gdiplus */
|
||||
"Expected InvalidParameter, got %.8x\n", stat);
|
||||
}
|
||||
|
||||
stat = GdipBitmapGetPixel(bitmap, 2, 1, &color);
|
||||
expect(InvalidParameter, stat);
|
||||
|
|
Loading…
Reference in New Issue