X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;ds=sidebyside;f=src%2Ffg_font.c;h=9e739490733eab8f8ed3236c034f7d2819a055c6;hb=877862d97a18a5ee6231d46bf7e3fb63b6cada39;hp=c0f04796ab9d25624a1ee71623b9a7b6bc665c91;hpb=05a61612c9b96b61ca9917def47eb59b7bd195c8;p=freeglut diff --git a/src/fg_font.c b/src/fg_font.c index c0f0479..9e73949 100644 --- a/src/fg_font.c +++ b/src/fg_font.c @@ -278,10 +278,14 @@ 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( ); + + if (fgState.StrokeFontDrawJoinDots) + { + 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 ); }