mesa: refactor debug output should_log
authorChia-I Wu <olvaffe@gmail.com>
Tue, 22 Apr 2014 02:18:09 +0000 (10:18 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Sun, 27 Apr 2014 02:06:20 +0000 (10:06 +0800)
commit7554d27de456848e882f4eae1ef47f2b402b93e3
tree92683a1f4819c7d94f1ee10b92914a66b94015cf
parent672b209225c704f31a4780e95d2487013c8a1c3a
mesa: refactor debug output should_log

Move the message filtering logic to debug_is_message_enabled.  No functional
change.

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