summaryrefslogtreecommitdiffstats
path: root/progs/redbook/tess.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/redbook/tess.c')
-rw-r--r--progs/redbook/tess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/redbook/tess.c b/progs/redbook/tess.c
index eb94653f252..bf3409eac72 100644
--- a/progs/redbook/tess.c
+++ b/progs/redbook/tess.c
@@ -94,7 +94,7 @@ void CALLBACK vertexCallback(GLvoid *vertex)
pointer = (GLdouble *) vertex;
glColor3dv(pointer+3);
- glVertex3dv(vertex);
+ glVertex3dv(pointer);
}
/* combineCallback is used to create a new vertex when edges