mesa: move _mesa_clear_accum_buffer() inside FEATURE_accum test
authorBrian Paul <brianp@vmware.com>
Tue, 10 Jan 2012 15:16:38 +0000 (08:16 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 10 Jan 2012 16:09:02 +0000 (09:09 -0700)
commit8fe6755ed52acfb88a7a787c3406b64fcdd80e6e
tree8906b3b81717b0c3b78be4300ea51f2ca56f1db5
parent9b1117095a78bbcbf22fef077f001d0fce969a0e
mesa: move _mesa_clear_accum_buffer() inside FEATURE_accum test

Fixes _mesa_clear_accum_buffer() being multiply defined if
FEATURE_accum is false.

Tested-by: Chih-Wei Huang <cwhuang@android-x86.org>
src/mesa/main/accum.c