diff --git a/src/tests/cogl/conform/test-offscreen-texture-formats.c b/src/tests/cogl/conform/test-offscreen-texture-formats.c index 947b3b010..23eee3538 100644 --- a/src/tests/cogl/conform/test-offscreen-texture-formats.c +++ b/src/tests/cogl/conform/test-offscreen-texture-formats.c @@ -58,7 +58,7 @@ test_offscreen_texture_formats_store_rgba16161616 (void) GError *error = NULL; uint8_t readback[8 * 4]; const uint16_t rgba16_red = 515; - const uint16_t rgba16_green = 61133; + const uint16_t rgba16_green = 60987; const uint16_t rgba16_blue = 2; const uint16_t rgba16_alpha = 1111; int i; @@ -125,8 +125,7 @@ test_offscreen_texture_formats_store_rgba16161616 (void) uint8_t *pixel_data = (uint8_t *) &readback[i * 4]; g_assert_cmpint (pixel_data[0], ==, rgb16_to_rgb8 (rgba16_red)); - /* this one is off by one, no idea why */ - /* g_assert_cmpint (pixel_data[1], ==, rgb16_to_rgb8 (rgba16_green)); */ + g_assert_cmpint (pixel_data[1], ==, rgb16_to_rgb8 (rgba16_green)); g_assert_cmpint (pixel_data[2], ==, rgb16_to_rgb8 (rgba16_blue)); g_assert_cmpint (pixel_data[3], ==, rgb16_to_rgb8 (rgba16_alpha)); }