test-cogl-multitexture: Don't test the alpha component

On EGL we don't request a context with any alpha bits so testing alpha
component of cogl_read_pixels isn't reliable.
This commit is contained in:
Neil Roberts 2010-12-07 12:49:00 +00:00
parent afe3929618
commit e0a02b2b5b

View File

@ -40,8 +40,7 @@ assert_region_color (int x,
#if 1 #if 1
g_assert (pixel[RED] == red && g_assert (pixel[RED] == red &&
pixel[GREEN] == green && pixel[GREEN] == green &&
pixel[BLUE] == blue && pixel[BLUE] == blue);
pixel[ALPHA] == alpha);
#endif #endif
} }
g_free (data); g_free (data);