gallium: fix Element() macro redefinition warning
authorBrian <brian.paul@tungstengraphics.com>
Thu, 27 Mar 2008 21:41:52 +0000 (15:41 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Thu, 27 Mar 2008 21:43:32 +0000 (15:43 -0600)
src/mesa/state_tracker/st_texture.c

index cbc6f849982978f883c01b0513129a6be4fc611f..8e3235cc99d1dd395422880b7c91be613edaaa20 100644 (file)
@@ -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"