From e0a02b2b5bc4ef88e8829d271380148a966e8494 Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Tue, 7 Dec 2010 12:49:00 +0000 Subject: [PATCH] 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. --- tests/conform/test-cogl-multitexture.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/conform/test-cogl-multitexture.c b/tests/conform/test-cogl-multitexture.c index 6f8305aea..71c21f46b 100644 --- a/tests/conform/test-cogl-multitexture.c +++ b/tests/conform/test-cogl-multitexture.c @@ -40,8 +40,7 @@ assert_region_color (int x, #if 1 g_assert (pixel[RED] == red && pixel[GREEN] == green && - pixel[BLUE] == blue && - pixel[ALPHA] == alpha); + pixel[BLUE] == blue); #endif } g_free (data);