summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-08-20 10:27:26 +0800
committerChia-I Wu <olv@lunarg.com>2010-08-20 19:22:51 +0800
commit8043bf555e14cf20826753d59d66d0cef7a5e5a0 (patch)
tree92bb7ba758e7c7340f929ad74b1f11e30fd0ad1d /src/mesa/state_tracker
parent5004f823ad3c82ec0b50822a4889798c81ce1cfc (diff)
mesa: Include compiler.h for ASSERT.
mfeatures.h defines ASSERT_NO_FEATURE to ASSERT, which is defined in compiler.h. Header files using the macro should include compiler.h.
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_cb_accum.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_accum.h b/src/mesa/state_tracker/st_cb_accum.h
index 7d52481c82..06425dc8a3 100644
--- a/src/mesa/state_tracker/st_cb_accum.h
+++ b/src/mesa/state_tracker/st_cb_accum.h
@@ -41,6 +41,8 @@ extern void st_init_accum_functions(struct dd_function_table *functions);
#else
+#include "main/compiler.h"
+
static INLINE void
st_clear_accum_buffer(GLcontext *ctx, struct gl_renderbuffer *rb)
{