From 79846ff2635d3b0b1762c1b4ae71d3a39526b7e1 Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Wed, 29 Nov 2023 12:00:07 +0100 Subject: [PATCH] cogl: Remove no longer needed build check Part-of: --- cogl/cogl/cogl-util.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/cogl/cogl/cogl-util.c b/cogl/cogl/cogl-util.c index ed2a95c58..4dffa822d 100644 --- a/cogl/cogl/cogl-util.c +++ b/cogl/cogl/cogl-util.c @@ -45,15 +45,6 @@ _cogl_util_one_at_a_time_mix (unsigned int hash) return hash; } -/* tests/conform/test-bitmask.c tests some cogl internals and includes this - * file directly but since these functions depend on other internal Cogl - * symbols we hide them from test-bitmask.c - * - * XXX: maybe there's a better way for us to handle internal testing - * to avoid needing hacks like this. - */ -#ifndef _COGL_IN_TEST_BITMASK - /* Given a set of red, green and blue component masks, a depth and * bits per pixel this function tries to determine a corresponding * CoglPixelFormat. @@ -174,5 +165,3 @@ _cogl_util_pixel_format_from_masks (unsigned long r_mask, return image_format; } - -#endif /* _COGL_IN_TEST_BITMASK */