mesa: return the correct value for GroupStackDepth
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 26 Nov 2015 00:36:13 +0000 (00:36 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 3 Dec 2015 19:20:58 +0000 (19:20 +0000)
commit078dd6a0b4135b5181eea538473fe53a9bc61223
tree87f1c3d5a21e4e13dfc40847e71d5215fcfa2553
parentf39954bf7cf09199a1cccb71e0e858c0b2054c6d
mesa: return the correct value for GroupStackDepth

We already have one group (the default) as specified in the spec. So
lets return its size, rather than the index of the current group.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
src/mesa/main/errors.c