mesa: refactor _mesa_PopDebugGroup and _mesa_free_errors_data
authorChia-I Wu <olvaffe@gmail.com>
Tue, 22 Apr 2014 05:01:56 +0000 (13:01 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Sun, 27 Apr 2014 02:06:20 +0000 (10:06 +0800)
commit04a8baad3721896f70353638866423bd699fbcd2
tree3d270db2623a6d7d072c567cc1e13be80d4902c9
parentf1d00dce439eb103f1be9e83623a5cdd11f61067
mesa: refactor _mesa_PopDebugGroup and _mesa_free_errors_data

Replace free_errors_data by debug_clear_group.  Add debug_pop_group and
debug_destroy for use in _mesa_PopDebugGroup and _mesa_free_errors_data
respectively.  No funcitonal change.

Signed-off-by: Chia-I Wu <olv@lunarg.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/errors.c