Commit aef4bd2c1a33cae9f7899717aec0a3f80ff5a608

henry 2004-12-10T09:51:56

const correctness

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/FTVectoriser.cpp b/src/FTVectoriser.cpp
index 515da40..d7f8774 100644
--- a/src/FTVectoriser.cpp
+++ b/src/FTVectoriser.cpp
@@ -211,7 +211,7 @@ void FTVectoriser::MakeMesh( FTGL_DOUBLE zNormal)
             
                 for( size_t p = 0; p < contour->PointCount(); ++p)
                 {
-                    const FTGL_DOUBLE* d = static_cast<const FTGL_DOUBLE*>(contour->Point(p));
+                    const FTGL_DOUBLE* d = contour->Point(p);
                     gluTessVertex( tobj, (GLdouble*)d, (GLdouble*)d);
                 }