projects
/
freeglut
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d436cf0
)
Improving the stroke fonts per e-mail from Fliran Echtler dated Sun 5/31/2009 3:56 AM
author
John F. Fay
<johnffay@nettally.com>
Sun, 31 May 2009 13:00:44 +0000
(13:00 +0000)
committer
John F. Fay
<johnffay@nettally.com>
Sun, 31 May 2009 13:00:44 +0000
(13:00 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@825
7f0cb862
-5218-0410-a997-
914c9d46530a
src/freeglut_font.c
patch
|
blob
|
history
diff --git
a/src/freeglut_font.c
b/src/freeglut_font.c
index
b163f6e
..
e956d5b
100644
(file)
--- a/
src/freeglut_font.c
+++ b/
src/freeglut_font.c
@@
-256,6
+256,10
@@
void FGAPIENTRY glutStrokeCharacter( void* fontID, int character )
for( j = 0; j < strip->Number; j++ )
glVertex2f( strip->Vertices[ j ].X, strip->Vertices[ j ].Y );
glEnd( );
+ glBegin( GL_POINTS );
+ for( j = 0; j < strip->Number; j++ )
+ glVertex2f( strip->Vertices[ j ].X, strip->Vertices[ j ].Y );
+ glEnd( );
}
glTranslatef( schar->Right, 0.0, 0.0 );
}