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 cbc6f84..8e3235c 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"