#2 DisplayList Bug - glTranslatef called too late

closed-fixed
nobody
None
5
2008-04-23
2008-04-18
Anonymous
No

There is a problem with FTPolyGlyph.cpp when display lists are turned off. Currently the program flow is as follows (Psudo Code)

==========================
-- PolyGlyph contrutctor is called

glGenLists
glNewList

/* RENDER GLYPH */

glEndList

-- Render is then called

glTranslatef;
if (displayList)
glCallList
==========================

If display lists are not used... the code will follow this flow..

==========================
-- PolyGlyph constructor is called

/* RENDER GLYPH */

-- Render is then called

glTranslatef;

The render code needs to be moved into its own function so that if lists are turned off, it can be called after the call to glTranslatef.

Discussion

  • Sam Hocevar
    Sam Hocevar
    2008-04-23

    Logged In: YES
    user_id=37415
    Originator: NO

    Thanks for the report. This was fixed in SVN commit [929] and [931].

     
  • Sam Hocevar
    Sam Hocevar
    2008-04-23

    • status: open --> closed-fixed