mesa: refactor _mesa_get_debug_state
authorChia-I Wu <olvaffe@gmail.com>
Tue, 22 Apr 2014 02:10:30 +0000 (10:10 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Sun, 27 Apr 2014 02:06:20 +0000 (10:06 +0800)
commit672b209225c704f31a4780e95d2487013c8a1c3a
treea008dfee2c30a15d928ee6826cbc5fba8400e881
parent9339f8ac1bc41942c77db6fbbe0dccab42efad4c
mesa: refactor _mesa_get_debug_state

Move gl_debug_state allocation to a new function, debug_create.  No functional
change.

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