[GDIPLUS_WINETEST]

Comment out GdipDisposeImage in 3 places, where it was crashing

See issue #5395 for more details.

svn path=/trunk/; revision=47212
This commit is contained in:
Timo Kreuzer 2010-05-15 00:12:14 +00:00
parent 9993f9c793
commit e093be6897

View file

@ -2353,7 +2353,8 @@ static void test_GdipGetNearestColor(void)
expect(Ok, status);
expect(0xdeadbeef, color);
GdipDeleteGraphics(graphics);
GdipDisposeImage((GpImage*)bitmap);
skip("skipping GdipDisposeImage, see bug 5395\n");
//GdipDisposeImage((GpImage*)bitmap);
status = GdipCreateBitmapFromScan0(10, 10, 10, PixelFormat64bppARGB, NULL, &bitmap);
expect(Ok, status);
@ -2363,7 +2364,8 @@ static void test_GdipGetNearestColor(void)
expect(Ok, status);
expect(0xdeadbeef, color);
GdipDeleteGraphics(graphics);
GdipDisposeImage((GpImage*)bitmap);
skip("skipping GdipDisposeImage, see bug 5395\n");
//GdipDisposeImage((GpImage*)bitmap);
status = GdipCreateBitmapFromScan0(10, 10, 10, PixelFormat64bppPARGB, NULL, &bitmap);
expect(Ok, status);
@ -2373,7 +2375,8 @@ static void test_GdipGetNearestColor(void)
expect(Ok, status);
expect(0xdeadbeef, color);
GdipDeleteGraphics(graphics);
GdipDisposeImage((GpImage*)bitmap);
skip("skipping GdipDisposeImage, see bug 5395\n");
//GdipDisposeImage((GpImage*)bitmap);
status = GdipCreateBitmapFromScan0(10, 10, 10, PixelFormat16bppRGB565, NULL, &bitmap);
expect(Ok, status);