mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 08:30:42 -05:00
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:
parent
afe3929618
commit
e0a02b2b5b
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user