mesa: treat Color._AdvancedBlendMode as enum
[mesa.git] / src / mesa / tnl / t_vb_render.c
index 9ff1f18f53b59b6416a216c649c277ebf4e3a8ef..02f521c7fb38f228767ced9c0c828c6dd1bd80f4 100644 (file)
@@ -43,7 +43,7 @@
 #include "main/context.h"
 #include "main/enums.h"
 #include "main/macros.h"
-#include "main/imports.h"
+
 #include "main/mtypes.h"
 #include "math/m_xform.h"
 #include "util/bitscan.h"
@@ -297,8 +297,8 @@ static GLboolean run_render( struct gl_context *ctx,
       clip_render_tab_elts[GL_TRIANGLES] = clip_elt_triangles;
    }
    else {
-      tab = (VB->Elts ? 
-            tnl->Driver.Render.PrimTabElts : 
+      tab = (VB->Elts ?
+            tnl->Driver.Render.PrimTabElts :
             tnl->Driver.Render.PrimTabVerts);
    }
 
@@ -314,9 +314,9 @@ static GLboolean run_render( struct gl_context *ctx,
 
         assert((prim & PRIM_MODE_MASK) <= GL_POLYGON);
 
-        if (MESA_VERBOSE & VERBOSE_PRIMS) 
-           _mesa_debug(NULL, "MESA prim %s %d..%d\n", 
-                       _mesa_enum_to_string(prim & PRIM_MODE_MASK), 
+        if (MESA_VERBOSE & VERBOSE_PRIMS)
+           _mesa_debug(NULL, "MESA prim %s %d..%d\n",
+                       _mesa_enum_to_string(prim & PRIM_MODE_MASK),
                        start, start+length);
 
         if (length)