render_primitive macro
authorPatrice Mandin <pmandin@freedesktop.org>
Fri, 8 Sep 2006 21:34:47 +0000 (21:34 +0000)
committerPatrice Mandin <pmandin@freedesktop.org>
Fri, 8 Sep 2006 21:34:47 +0000 (21:34 +0000)
src/mesa/drivers/dri/nouveau/nv10_swtcl.c

index 75b35271f6359fe29a8a102b3a3b84ff4d94f585..217193ba99b48319233d5e1678e6c7084211b670 100644 (file)
@@ -327,7 +327,7 @@ static const GLuint hw_prim[GL_POLYGON+1] = {
 };
 
 #define RASTERIZE(x) nv10RasterPrimitive( ctx, x, hw_prim[x] )
-#define RENDER_PRIMITIVE nmesa->renderPrimitive
+#define RENDER_PRIMITIVE nmesa->current_primitive
 #define TAG(x) x
 #define IND NOUVEAU_FALLBACK_BIT
 #include "tnl_dd/t_dd_unfilled.h"