projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
st/mesa: Make st_cb_accum.h FEATURE_accum aware.
[mesa.git]
/
src
/
mesa
/
state_tracker
/
st_cb_accum.c
diff --git
a/src/mesa/state_tracker/st_cb_accum.c
b/src/mesa/state_tracker/st_cb_accum.c
index ded0ba9c6a7530b93458b947c6a66246d0822a4c..425e7987d33e410032cada99a622bac1773455ee 100644
(file)
--- a/
src/mesa/state_tracker/st_cb_accum.c
+++ b/
src/mesa/state_tracker/st_cb_accum.c
@@
-45,6
+45,8
@@
#include "util/u_tile.h"
+#if FEATURE_accum
+
/**
* For hardware that supports deep color buffers, we could accelerate
* most/all the accum operations with blending/texturing.
@@
-333,3
+335,5
@@
void st_init_accum_functions(struct dd_function_table *functions)
{
functions->Accum = st_Accum;
}
+
+#endif /* FEATURE_accum */