- get rid of some cast frenzy, by Physicus
authorKamil Hornicek <kamil.hornicek@reactos.org>
Mon, 2 Nov 2009 14:00:47 +0000 (14:00 +0000)
committerKamil Hornicek <kamil.hornicek@reactos.org>
Mon, 2 Nov 2009 14:00:47 +0000 (14:00 +0000)
svn path=/trunk/; revision=43910

reactos/dll/win32/opengl32/font.c

index 80a9818..deabb8f 100644 (file)
@@ -647,7 +647,7 @@ INT DrawGlyph(UCHAR* glyphBuf, DWORD glyphSize, FLOAT chordalDeviation, FLOAT ex
         v[2] = 0.0;
         z_value = 0.0f;
 
-        gluTessBeginPolygon(tess, (VOID *)*(INT *)&z_value);
+        gluTessBeginPolygon(tess, &z_value);
 
         for (loop = (DWORD) *p++; loop; --loop)
         {
@@ -718,7 +718,7 @@ INT DrawGlyph(UCHAR* glyphBuf, DWORD glyphSize, FLOAT chordalDeviation, FLOAT ex
             glNormal3f(0.0f, 0.0f, -1.0f);
             gluTessNormal(tess, 0.0F, 0.0F, -1.0F);
 
-            gluTessBeginPolygon(tess, (VOID *)*(INT *)&thickness);
+            gluTessBeginPolygon(tess, &thickness);
 
             for (loop = (DWORD) *p++; loop; --loop)
             {