[Mesa-dev] [RFC] Gallium debug options printing

canbaby canbaby at 21cn.com
Fri Apr 23 06:51:48 PDT 2010


On Thu, 2010-04-22 at 22:28 +0100, Jakob Bornecrantz wrote:
> +#define DEBUG_GET_ONCE_FLAGS_OPTION(sufix, name, flags, dfault) \
> +static unsigned long \
> +debug_get_option_ ## sufix (void) \
> +{ \
> +   static boolean first = TRUE; \
> +   unsigned long value; \
should be static
> +   if (first && !(first = FALSE)) \
> +      value = debug_get_num_option(name, flags, dfault); \
> +   return value; \
> +}
> + 


More information about the mesa-dev mailing list