On Sun, Nov 22, 2015 at 6:50 PM, Emil Velikov <emil.l.veli...@gmail.com> wrote: > On 22 November 2015 at 23:22, Ilia Mirkin <imir...@alum.mit.edu> wrote: >> There are some places that you're not fixing up... > I thought I fixed all cases - which ones do you have in mind ? The > ones in debug_destroy() or the comparison in _mesa_PushDebugGroup() ?
There was a check for <= 0 which would now have to be <= 1 I guess? And something else, I already forgot. > >> would this >> alternatively be resolved by returning GroupStackDepth+1 in >> _mesa_get_debug_state_int and leaving everything else alone? >> > True and it will result in a shorter patch. Then again the name would > be wrong :-\ So rename it to CurrentGroup or something. Having to constantly do n-1 everywhere increases the likelihood of bugs/misunderstanding down the line. -ilia _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev