On Fri, Apr 23, 2010 at 2:51 PM, canbaby <[email protected]> wrote: > 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; \ >> +} >> + >
Thanks, Michal also told me that I'm using the wrong debug_get_*_option in flags, I have fixed that. Cheers Jakob. _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
