[OPENGL32]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Mon, 2 Nov 2009 16:16:09 +0000 (16:16 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Mon, 2 Nov 2009 16:16:09 +0000 (16:16 +0000)
fix TessVertexOutData callback, too.

svn path=/trunk/; revision=43911

reactos/dll/win32/opengl32/font.c

index deabb8f..ea58b75 100644 (file)
@@ -461,12 +461,12 @@ INT MakeLinesFromTTPolygon(UCHAR** pp, FLOAT chordalDeviation)
 * Used by tessellator to handle output vertexes.
 *****************************************************************************/
 
-VOID CALLBACK TessVertexOutData(FLOAT p[3], GLfloat z)
+VOID CALLBACK TessVertexOutData(FLOAT p[3], GLfloat *pz)
 {
     GLfloat v[3];
     v[0] = (GLfloat) p[0];
     v[1] = (GLfloat) p[1];
-    v[2] = z;
+    v[2] = *pz;
     glVertex3fv(v);
 }