summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-03-27 15:41:52 -0600
committerBrian <[email protected]>2008-03-27 15:43:32 -0600
commit89222ee49de340774279c9c0bf884649e66ad6df (patch)
treea15b00e6d92511d072216efcfae0999a240104ed /src/mesa
parentba49fa39f3028d1ee44a999d84b29a0cfbfab0bd (diff)
gallium: fix Element() macro redefinition warning
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_texture.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_texture.c b/src/mesa/state_tracker/st_texture.c
index cbc6f849982..8e3235cc99d 100644
--- a/src/mesa/state_tracker/st_texture.c
+++ b/src/mesa/state_tracker/st_texture.c
@@ -30,6 +30,8 @@
#include "st_texture.h"
#include "enums.h"
+#undef Elements /* fix re-defined macro warning */
+
#include "pipe/p_state.h"
#include "pipe/p_context.h"
#include "pipe/p_defines.h"