#5 Add method to get FTGL version information

closed
None
5
2010-05-23
2010-04-04
No

It would be nice, if FTGL had a possibility to determine the library version at runtime.
This could be done either with a function call (like OpenGL's glGetString) or by defining some macros (#define FTGL_MAJOR_VERSION 2, ...).

Thanks,

Paul

Discussion

  • Sam Hocevar

    Sam Hocevar - 2010-05-23

    Good sugestion.

    The next release will feature an FTGL::GetString() C++ function, and an ftgpGetString() C equivalent.

     
  • Sam Hocevar

    Sam Hocevar - 2010-05-23
    • assigned_to: nobody --> sammy
    • status: open --> closed
     
  • Sam Hocevar

    Sam Hocevar - 2010-05-23

    That's ftglGetString(), not ftgpGetString().

    Also note that this function will not be backwards-compatible, as previous versions did not provide it.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks