Menu

#31 FTGLPixmapFont does not track current color

open
None
5
2011-05-21
2010-10-29
Anonymous
No

FTGLPixmapFont is not rendered with the color set by glColor. I believe it should be.
quick fix was
in FTPixmapFont.cpp, line 100:
-glGetFloatv(GL_CURRENT_RASTER_COLOR, ftglColour);
+glGetFloatv(GL_CURRENT_COLOR, ftglColour);

Discussion

  • Sam Hocevar

    Sam Hocevar - 2011-05-21

    I'm not sure this is not the expected behaviour, since FTPixmapFont is implemented using GL bitmaps. Aren't you experiencing the issue described here: http://www.felixgers.de/teaching/jogl/bitmapColor.html ?

     
  • Sam Hocevar

    Sam Hocevar - 2011-05-21
    • assigned_to: nobody --> sammy
     

Log in to post a comment.

MongoDB Logo MongoDB