X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_font.c;h=7581365d780ccfd8a13bf7ed3ad7eb5b1367b0fc;hb=a7c34bdfaa680a83bf796eac2f2da20b92f4c139;hp=b15f410feac630e99a36fe59e3c6b514bd24b179;hpb=2bffb75e0eee41ffd7c5204e6bc44da77cb4a3e8;p=freeglut diff --git a/src/freeglut_font.c b/src/freeglut_font.c index b15f410..7581365 100644 --- a/src/freeglut_font.c +++ b/src/freeglut_font.c @@ -120,10 +120,10 @@ void FGAPIENTRY glutBitmapCharacter( void* fontID, int character ) glPixelStorei( GL_UNPACK_SKIP_PIXELS, 0 ); glPixelStorei( GL_UNPACK_ALIGNMENT, 1 ); glBitmap( - face[ 0 ], font->Height, /* The bitmap's width and height */ - font->xorig, font->yorig, /* The origin in the font glyph */ - ( float )( face[ 0 ] ), 0.0, /* The raster advance -- inc. x,y */ - ( face + 1 ) /* The packed bitmap data... */ + face[ 0 ], font->Height, /* The bitmap's width and height */ + font->xorig, font->yorig, /* The origin in the font glyph */ + ( float )( face[ 0 ] ), 0.0, /* The raster advance -- inc. x,y */ + ( face + 1 ) /* The packed bitmap data... */ ); glPopClientAttrib( ); }