[Bf-committers] small FTGL patch required for colored texts.

Rob Haarsma bf-committers@blender.org
Wed, 16 Apr 2003 14:42:02 +0200


Please note, this FTGL patch is required for every OS but windows.
The windows precompiled libraries in bf\lib\windows\ftgl are already
modified and updated.

Rob Haarsma wrote:

> Hey all,
>
> I modified the code so all glyphs are generated in white by default,
> which allows Blender to modify the colors when needed.
>
> Change from line 33 in FTGL\src\FTPixmapGlyph.cpp;
>
>         // Get the current glColor.
>         float ftglColour[4];
> //        glGetFloatv( GL_CURRENT_COLOR, ftglColour);
>
>         ftglColour[0]= ftglColour[1]= ftglColour[2]= ftglColour[3]= 1.0;
>
> Thats all,
>
> Rob
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers@blender.org
> http://www.blender.org/mailman/listinfo/bf-committers
>