summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrice Mandin <[email protected]>2006-09-08 21:34:47 +0000
committerPatrice Mandin <[email protected]>2006-09-08 21:34:47 +0000
commit7a968481a00216e07d9a7d6400de147ddab66efd (patch)
tree0c80520b0fe45873232bfc381c241f799f685afc /src
parent07d4c63ddc39a41c1048bd92c41b22b8c11712f3 (diff)
render_primitive macro
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/nouveau/nv10_swtcl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nv10_swtcl.c b/src/mesa/drivers/dri/nouveau/nv10_swtcl.c
index 75b35271f63..217193ba99b 100644
--- a/src/mesa/drivers/dri/nouveau/nv10_swtcl.c
+++ b/src/mesa/drivers/dri/nouveau/nv10_swtcl.c
@@ -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"