summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_accum.c
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2009-09-08 17:44:22 +0800
committerChia-I Wu <olvaffe@gmail.com>2009-09-13 17:38:05 +0800
commitdc2ddb27d392e68aa2139b54e5d73bbdac19d5a9 (patch)
treeab8c77f4e08e78913e77846834bfc7f7bac03383 /src/mesa/swrast/s_accum.c
parent0fc1cd5e9125dfe86b9dc31ec8084ee1f28aef47 (diff)
mesa/swrast: Respect mfeatures.h.
FEATURE_accum, FEATURE_convolve, FEATURE_colortable, and FEATURE_drawpix cover part of the functionalities of swrast module. Disable them when the features are disabled.
Diffstat (limited to 'src/mesa/swrast/s_accum.c')
-rw-r--r--src/mesa/swrast/s_accum.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/swrast/s_accum.c b/src/mesa/swrast/s_accum.c
index c6c7dbf5cf..c29ccf2d9b 100644
--- a/src/mesa/swrast/s_accum.c
+++ b/src/mesa/swrast/s_accum.c
@@ -73,6 +73,9 @@
#endif
+#if FEATURE_accum
+
+
/**
* This is called when we fall out of optimized/unscaled accum buffer mode.
* That is, we convert each unscaled accum buffer value into a scaled value
@@ -597,3 +600,6 @@ _swrast_Accum(GLcontext *ctx, GLenum op, GLfloat value)
swrast_render_finish(ctx);
}
+
+
+#endif /* FEATURE_accum */